Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Re: OT: Defunct & Killing the Server

by Anonymous Monk
on Dec 20, 2001 at 03:20 UTC ( #133322=note: print w/replies, xml ) Need Help??

in reply to Re: OT: Defunct & Killing the Server
in thread OT: Defunct & Killing the Server

Linux (I'm pretty sure its Debian) I am using DBI, but with mySQL. Other notable modules are CGI and CGI::Debug. Hosted by Apache Advanced Extranet Server.

Even a simple "Hello world" script, when refresh is pressed quickly and repeatedly, generates defunct processes.
  • Comment on Re: Re: OT: Defunct & Killing the Server

Replies are listed 'Best First'.
Re: Re: Re: OT: Defunct & Killing the Server
by hydo (Monk) on Dec 20, 2001 at 03:39 UTC
    Might be time to look for another hosting provider.
    A defunct process is a process that has exited but still has an entry in the kernels process table. In most unices it has no size other than the sizeof() the entry itself. There is one unix variant that does store some resident information about the process other than its table entry but I cant remember which one offhand. This should not kill the server unless there are so many of them that they fill the process table in which case all fork()s will return errors until there is space for thier new processes in the table.
    Are these processes exiting after a while or are they staying around? These processes are normal in that all processes besides init become defunct when they exit() and are cleaned from the process table by init or the kernel. Logic would then suggest that the cleaner-upper (very technical term there) isn't doing its job. =)
    So if I were you, I would look for another hosting provider.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://133322]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2023-12-06 13:22 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (30 votes). Check out past polls.