Re: perl scripts suddenly failing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Boyle Owen wrote:
-----Original Message-----
From: Eben [mailto:eben@xxxxxxxxxxxxx] Sent: Wednesday, April 04, 2007 8:53 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  perl scripts suddenly failing

I rebooted and that cleared up the problem, but do you think this could be an early warning sign of a failing drive?

I doubt it very much - drives don't give early warnings they just
suddenly die. But then again, they don't do that very often... 99.99% of
problems are due to software so if you hear hoofbeats, think horses, not
zebras.

Thanks for the advice, I'll do what you recommended, but don't zebras have hoofs as well ;) ?

I mentioned file descriptors - look at how many logs files you have
open, find out how to count the free Fds on mac os, etc...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
Boyle Owen wrote:
-----Original Message-----
From: Eben [mailto:eben@xxxxxxxxxxxxx] Sent: Wednesday, April 04, 2007 7:17 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  perl scripts suddenly failing

Hello,

In the last few days, existing cgi scripts that had been working fine, now fail with an apache 500 error. The exact error
getting logged by
apache is:

[Wed Apr 4 12:01:47 2007] [error] [client 71.233.250.53] (35)Resource temporarily unavailable: couldn't spawn child process: /home/user/cgi-bin/test.cgi

test.cgi is a simple hello world perl script. In the
apache conf for
the site I have:

ScriptAlias /cgi-bin/ /home/user/cgi-bin/
       <Directory /home/user/cgi-bin>
               AllowOverride None
               Options None
               Order allow,deny
               Allow from all
       </Directory>

"which perl" shows /usr/bin/perl

This is running on Mac OSX 10.3.9 on a G5 xserve with the latest
Not too familiar with Mac Os but I believe it's now based
on FreeBSD...
Anyway, it seems to be having some resource limitation problem (file
descriptors is one of the Usual Suspects). The simplest
thing to try to
get going again would be a reboot. Then check system logs and try a
MacOs forum/consultant...

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.
updates. Any suggestions for further troubleshooting or solutions are appreciated
thanks,
Eben


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx

This message is for the named person's use only. It may
contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux