Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: OT: Defunct & Killing the Server

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

in reply to OT: Defunct & Killing the Server

What platform is this and are you using DBI?
There used to be an issue with DBI and Oracle 7 but the chances of this applying to you are probably slim. So actually, could you post your platform and what modules you are using? It would narrow this down considerably =)

Replies are listed 'Best First'.
Re: Re: OT: Defunct & Killing the Server
by Anonymous Monk on Dec 20, 2001 at 03:20 UTC
    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.
      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://133318]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2023-09-28 02:08 GMT
Find Nodes?
    Voting Booth?

    No recent polls found