Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
My error log is full of these messages - Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home/...

Has anyone else had this? Any idea why?


UBB user since 1998
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Looks to be some php script that doesn't have memory to finish. Anyone reporting any errors on the site? If so, if you can find out exactly what they were doing at the time that would help track it down.

Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
It seems to be happening when being spidered by Google. The techs for the host figure that they will downgrade Apache (was recently upgraded) and also that they will get rid of SuPHP (that should not be a problem, right?)


UBB user since 1998
Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
so now that apache has been rebuilt, I see the following error in my error log.

PHP Fatal error: PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 730501 bytes) in /home/agentson/public_html/forums/libs/ubbthreads.inc.php on line 826

Any ideas?


UBB user since 1998
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It looks like it's running into the memory issue when it tries to do the final replacement of the graemlins for that particular style. I'd check with them and see if it's possible for them to bump up the max memory that PHP is allowed to use.

Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
I will do that, thank you.


UBB user since 1998
Joined: Jan 2007
Posts: 170
D
Member
Member
D Offline
Joined: Jan 2007
Posts: 170
Just to follow up for anyone in the future with the same issues who search these forums for an answer - I had the memory increased and my error issues appear to be solved.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
excellent, glad it's been resolved.

Joined: Jan 2011
Posts: 1
C
stranger
stranger
C Offline
Joined: Jan 2011
Posts: 1
Much thanks for answering this question. I recently installed Apache 2.2 on my home machine to work as a test server and was baffled as to why I couldn't get CGI up and running. While I had considered the path as being a problem, I was confused by the various perl interpreter locations (I'm running Cygwin, thought it might want to reference that, or perhaps I needed to download an Apache specific Perl interpreter.)

I'm running W7, using Active Perl for my interpreter. If you're in the same boat, just search for "Perl.exe" and use that as the header. Mine ended up being:

#!"C:\Perl64\bin\perl.exe"

Thanks again!


Cheetah

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Ruben), 866 guests, and 176 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)