When I refresh my IE. My apache stop responding to any php requests! (static html and images are OK)
I refresh as fast as once or two a second!
Can you tell me the version string in the bottom of output of "mmcache.php" and may be I will help.
The same happens to me!
Shortly after refreshing mmcache.php the apache webserver stops responding.
Here ist my version string:
MMCache 2.3.15 [shm:sysvipc sem:spinlock], PHP 4.3.2 [ZE 1.3.0], Apache [Apache/1.3.27 (Unix) PHP/4.3.2 mod_ssl/2.8.14 OpenSSL/0.9.7a
PS: I have suggestion to enhance the output from mmcache.php. In my opinion it is not reasonable to print out all cached files. Averaged my installtion of MMCache buffers 2500 -3000 files. The output is horrible long and useless in that amount. A summary like at top would fit the needs. Maybe an extra button for displaying all cached files makes more sense.
Please, try to rebuild mmcache with ollwing instruction:
$ ./configure --with-mmcache=shared
comment #define MM_SEM_SPINLOCK 1
change /* #undef MM_SEM_IPC */
to #define MM_SEM_IPC 1
# make install
Let me know if it will help or not.
I tried this. It seems to work. but is it safe?
I hope :)
sorry but I wasnt able to try your suggestion. Yesterday we had serious trouble again and I had to disable MMCache.
I have a bad suspicion:
Our server is a dual xeon 2.4 GHz with 2 GB RAM and 256 MB reserved for MMCache. At about 19:38h we got tons of critical kernel messages in syslog! After research I found out that about 1.75 GB RAM were in use and system started heavy swaping. I think the system tryed to access or use memory from the shared memory segment reserved for mmcache! The kernel had thrown tons of messages like: "Null pointer exception trying to access virtual memory at adress xxx".
Ive disabled MMCache and deleted the shared memory segment and the kernel stopped reporting errors.
Is it likely that MMCache hat to do with the problem? Or maybe the MM shared memory library? Fact is the problem started when all available memory except of shared memory was used and ended after deleting the shared memory segment and disabling MMCache ;-((
I have found the problem and fixed it.
Fixed version is available in sourceforge CVS and will be available in the next release (2.3.16)
Thanks, wondful job!
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.