Results 1 to 10 of 22
FATAL: emalloc(): Unable to allocate 1073741824 bytes
getting that error 3 times in the apache error_log file. I do not know much about linux, this box was a buddy of ...
- 02-17-2005 #1Just Joined!
- Join Date
- Feb 2005
- Posts
- 53
FATAL: emalloc(): Unable to allocate 1073741824 bytes
FATAL: emalloc(): Unable to allocate 1073741824 bytes
getting that error 3 times in the apache error_log file. I do not know much about linux, this box was a buddy of mine who passed away. well now its broke and I am trying to figure this stuff out. its a very busy site and do not know where to begin to fix this.. any ideas? webpage is precisionstrike.net as you can see only a blank white screen comes up.
thanks for any help
- 02-17-2005 #2
Basicaly, you are trying to allocate memory, (I'm guessing in php, as i belive that is a php function) and basicaly, the system cant.(that is alot of memory) basicaly your going to have to poke around your sites scripts and check for unused variables and the like.....(especialy the larges ones, arrays and the like)
if it helps you, I am almost certain that this is part of the mail function, so should the site have some automated mailer, its possible that you are trying to send an impossibly large email, or email address, perhaps a relative location that now means an entire directory or something... just guessing
- 02-17-2005 #3Just Joined!
- Join Date
- Feb 2005
- Posts
- 53
ugh, man I have no clue how to do that stuff hehe. guess I have some researching to do.
- 02-17-2005 #4
does the site have dynamic content? if so, was it all handwritten? or is it part of a package (such as this site, phpBB... hevily modded mind you, but /ramble) should it be part of a package, you might just need to update the package, if it was all hand coded, the best bet is to copy all the site files into a local directoy, and just start poking, you can probably pick up the html pretty easy, and try commenting out all the php and see what happens.
- 02-17-2005 #5
There is no page there. Here try this:
<html>
<head><title> precisionstrike.net</title></head>
<body>
<center><h1>
Precisionstrike.net
</h1>
<hr>
</body>
</html>
Cut and paste the code above into a text editor save it as index.html
then put it in /var/www/html
cp -R index.html /var/www/html
Let me know if you need assistance.Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 02-17-2005 #6Just Joined!
- Join Date
- Feb 2005
- Posts
- 53
it has phpbb on it, the site itself was hand written, all in php mainly it looks like. the phpbb database is over 500 megs.. uhh does have a eqdkp package installed on it.. a gallery package as well on it, those packages of course not written by him. it does do mail as well I know for the members of the site. I am just an amatuer at all this so I think I am in over my head.. may have to look for outside help to come in and help me figure this stuff out.
let me get a capture of the log a sec so you can see more of what may be going on.. gimme a minute
end part of apache log
[Thu Feb 17 12:34:24 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[1365] MMCACHE: PHP crashed on opline 2 of fs_file_exists() at /www/precisionstrike.net/www/gallery/platform/fs_unix.php:42
[Thu Feb 17 12:38:09 2005] [notice] child pid 1365 exit signal Segmentation fault (11)
[Thu Feb 17 12:39:56 2005] [notice] child pid 1464 exit signal Segmentation fault (11)
[Thu Feb 17 13:50:17 2005] [notice] child pid 1596 exit signal Segmentation fault (11)
[Thu Feb 17 14:08:28 2005] [notice] child pid 1592 exit signal Segmentation fault (11)
FATAL: emalloc(): Unable to allocate 1073741824 bytes
[Thu Feb 17 14:23:28 2005] [notice] child pid 1360 exit signal Segmentation fault (11)
[Thu Feb 17 14:40:34 2005] [notice] caught SIGTERM, shutting down
[Thu Feb 17 14:43:19 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming
normal operations
[Thu Feb 17 14:43:19 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Feb 17 14:47:34 2005] [notice] SIGHUP received. Attempting to restart
[Thu Feb 17 14:47:34 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming
normal operations
[Thu Feb 17 14:47:34 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
FATAL: emalloc(): Unable to allocate 1073741824 bytes
FATAL: emalloc(): Unable to allocate 1073741824 bytes
FATAL: emalloc(): Unable to allocate 1073741824 bytes
[Thu Feb 17 16:19:21 2005] [warn] child process 1582 still did not exit, sending a SIGTERM[Thu Feb 17 16:19:21 2005] [warn] child process 1691 still did not exit, sending a SIGTERM[Thu Feb 17 16:19:26 2005] [error] child process 1582 still did not exit, sending a SIGKILL
[Thu Feb 17 16:19:26 2005] [error] child process 1691 still did not exit, sending a SIGKILL
[Thu Feb 17 16:19:26 2005] [notice] caught SIGTERM, shutting down
[Thu Feb 17 16:19:27 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming
normal operations
[Thu Feb 17 16:19:27 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Feb 17 17:14:57 2005] [notice] child pid 2259 exit signal Segmentation fault (11)
[Thu Feb 17 18:26:04 2005] [notice] child pid 2583 exit signal Segmentation fault (11)
- 02-17-2005 #7Just Joined!
- Join Date
- Feb 2005
- Posts
- 53
Originally Posted by adrenaline
http://www.precisionstrike.net/index.html
works
- 02-17-2005 #8Just Joined!
- Join Date
- Feb 2005
- Posts
- 53
you able to give me some ideas of what I may be looking for in some of the php scripts? that could be causing this? or if it were a mail thing what I may look for?
Originally Posted by qub333
- 02-17-2005 #9Great job I am impressed. Let me know what you want to do with it or if you want more help.
Originally Posted by doox00 Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
- 02-17-2005 #10Just Joined!
- Join Date
- Feb 2005
- Posts
- 53
well that little precisionstrike.net/index.html thing works.. so apache is running ok. but the main page is still broke.. the main index file index.php has to do with that 1 gig of ram error thing.. as someone mentioned before.. it could be anumber of things.. I just do not know what to look for.


Reply With Quote