Hallo monks!
I have a client/server envirnment working with Perl 5.005_03 and RPC::PlClient/RPC::PlServer. The environment works on many different platforms, including Nokia IPSO (which is their own FreeBSD version).
Unfortunately, whenever a connection is closed, a new zombie process is created on the IPSO machine (the server side), until the proc table is full.
Looking into it I found the following line in Net::Daemon:
return 'IGNORE' if $^O eq 'linux'; # We get zombies on Linux other
+wise
Reading further about this in
perldoc I was glad and I just added "freebsd" to the regexp, but unfortunately nothing changed.
Since I don't really need the server to me able to listen to more then one connection at a time I moved to use 'single' mode instead of 'fork' mode, like I do on windows, but it is an ugly solution.
Any idea ?
The Perl -V data on the IPSO is:
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=freebsd, osvers=2.2.8-release, archname=i386-freebsd
uname='freebsd athens.checkpoint.com 2.2.8-release freebsd 2.2.8-r
+elease #0: mon nov 30 06:34:08 gmt 1998 jkh@time.cdrom.com:usrsrcsysc
+ompilegeneric i386 '
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='gcc', optimize=' ', gccversion=2.8.1
cppflags=''
ccflags =''
stdchar='char', d_stdstdio=undef, usevfork=false
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1
+2
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='ld', ldflags =''
libpth=/usr/lib
libs=-lm -lc -lcrypt
libc=, so=so, useshrplib=false, libperl=libperl.a
Dynamic Linking:
dlsrc=dl_none.xs, dlext=none, d_dlsymun=undef, ccdlflags=''
cccdlflags='-DPIC -fpic', lddlflags=''
Characteristics of this binary (from libperl):
Built under freebsd
Compiled at Jul 11 2001 20:45:05
@INC:
/opt/perl5/lib/5.00503/i386-freebsd
/opt/perl5/lib/5.00503
/opt/perl5/lib/site_perl/5.005/i386-freebsd
/opt/perl5/lib/site_perl/5.005
.
TIA,
shushu
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.