|
From: Hans R. <ha...@pa...> - 2005-12-27 10:15:25
|
Hi Sönke, See http://httpd.apache.org/dev/debugging.html The way i do it is with gdb, running apache in single thread mode (run -X in gdb) You will probably need to isolate your development/debugging work on a webserver that does not serve any other reqs at that time. The segfault on restore problem is one of the problems i have remaining. Simple scripts work fine, even phpMyAdmin works, but complex class usage/OOP constructions still seem to fail on restore. Could you please test if the problem persists with the optimizer turned off? Thanks for your effort, Hans Sönke Ruempler wrote: >Hi Hans, > >eac...@li... <> wrote on : > > > >>I've done some work on it in collaboration with Bart vanBrabant aka >>zoeloelip. There is a preliminary patch at >>http://home.parse.nl/~hans/eaccel/ >> >>Note that this is a work in progress. Your milage may vary. >> >>Please report your succes/failure/suggestions. >> >> > >Thx for your work! Yeah I couldn't wait to try the patch. ;) > >Caching seems to work: > >eAccelerator >eAccelerator support enabled >Version 0.9.4-rc1 >Caching Enabled true >Optimizer Enabled false >Memory Size 33,554,392 Bytes >Memory Available 15,292,320 Bytes >Memory Allocated 18,262,072 Bytes >Cached Scripts 289 >Removed Scripts 0 >Cached Keys 0 > >Directive Local Value Master Value >eaccelerator.cache_dir /tmp/eaccelerator /tmp/eaccelerator >eaccelerator.check_mtime 1 1 >eaccelerator.compress 1 1 >eaccelerator.compress_level 0 0 >eaccelerator.debug 0 0 >eaccelerator.enable 1 1 >eaccelerator.filter no value no value >eaccelerator.keys shm_and_disk shm_and_disk >eaccelerator.log_file no value no value >eaccelerator.name_space no value no value >eaccelerator.optimizer 0 0 >eaccelerator.shm_max 0 0 >eaccelerator.shm_only 0 0 >eaccelerator.shm_prune_period 0 0 >eaccelerator.shm_size 0 0 >eaccelerator.shm_ttl 0 0 > > >But restoring and executing the bytecode (as doing a second request to a >page) makes the apache (2.0) segfault. > >I tried this primarily with mediawiki software. Is there a way to generate >backtraces like gdb in apache? Or how can we help you for further >developement / bugfixing? > >soenke > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >eAccelerator-developers mailing list >eAc...@li... >https://lists.sourceforge.net/lists/listinfo/eaccelerator-developers > > |