|
From: John H. <web...@ew...> - 2006-12-13 14:18:53
|
Barry wrote: > Jamie Cameron wrote: > >>>> I imagine they are running out of memory and dieing. >>>> >>>> - Jamie >>>> >>> Is there a way for me to find out the peak size? There doesn't seem to >>> be anything in the log file, at least for now... >>> >> I guess all you can do is keep running the top command, to see how high >> memory usage gets.. >> >> - Jamie >> >> > > Jamie - > > I am seeing some modules that are crashing when top is reporting memory > usage as low as ~20MB on a 128MB (no swap) system. > 128mb with no swap? I'm not sure that was enough for a server 10 years ago. How many instances of Apache does your config allow. If 10, that'll be half your ram. I saw mysql in the top report... and that can vary widely up to needing more than you have. But with as little as you have you'll likely need to tweak the my.cnf down to almost nothing.. maybe you can find a tinymy.cnf example file somewhere. IIRC, back when 128megs was pretty common, Redhat was suggesting a swap of twice the size of the ram. I'd say put more ram in it and if you have to rebuild the system and be sure to include a swap of at least the size of the ram, if not twice the amount. Best, John Hinton |