Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Program hangs

by Stegalex (Chaplain)
on Jan 27, 2002 at 23:26 UTC ( [id://141964]=note: print w/replies, xml ) Need Help??


in reply to Re: Program hangs
in thread Program hangs

It is single-threaded, although it doesn't interact directly with SMTP, it passes a command to a different machine. The other machine actually forms the mail message.

The program is stopping printing right in the middle of printing a variable. This is the sort of thing that happens when you run out of disk space, although I have plenty of space in the filesystem.

The process can hang for days without moving. It took me a couple of days before I noticed the problem because there were no obvious signs of errors such as stderr, stdout, logfile entries.

Replies are listed 'Best First'.
Re: Re: Re: Program hangs
by n3dst4 (Scribe) on Jan 28, 2002 at 01:21 UTC
    What does the other machine (the receiver) think is happening? Are the commands being passed down a constantly-open channel which is getting clobbered by an intervening firewall after a certain length of time?

    Oh, and if this is on Linux, cat /proc/sys/fs/file-nr while the program is hung. You may have run out of filehandles (although you'll have a hard time launching a shell etc. if that's the case).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-24 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found