Snort mailing list archives

ACID memory usage bug (causing browser hangs, large memory usage in web server)


From: roman () danyliw com
Date: Sat, 20 Oct 2001 18:55:30 US/Eastern

Since version 0.9.6b15, there have been reports that the page loading time
in ACID slows down over time ultimately resulting in complete hanging of
the browser; if PHP memory-limits were enabled, exhaustion of memory; and
bloated httpd memory usage.

I believe this problem has been isolated to inefficient usage of memory in
storing state information required to support the "back button".  All
version of ACID since 0.9.6b15 are affected.

Committed to CVS is code which:

* improves memory usage (it is not optimal yet, but at least session usage
is no longer growing 18K ^ n bytes per page load; where n denotes how many
pages you have viewed since acid_main.php.  Memory usage is now 18K * n). 

* introduces the configuration variable $maintain_history in
acid_conf.php to toggle whether a page history should be kept to support
the "back button".  Default is $maintain_history=1, which keeps this
state.  However, if you continue experiencing problems related to memory
usage set $maintain_history=0.

* prints debugging information to display the size of the current
PHP session (if $debug_mode=1).

Thanks for all the various bug reports,
Roman


---------------------------------------------
This message was sent using Voicenet WebMail.
      http://www.voicenet.com/webmail/



_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: