Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.341.370 Times

Apache::GTopLimit 1.02

Company: Stas Bekman
Date Added: October 17, 2013  |  Visits: 315

Apache::GTopLimit

Report Broken Link
Printer Friendly Version


Product Homepage
Download (41 downloads)



Apache::GTopLimit is a Perl module that will run on platforms supported by GTop.pm a Perl interface to libgtop (which in turn needs libgtop).<br /><br />This module was written in response to questions on the mod_perl mailing list on how to tell the httpd process to exit if:<br /><br />* its memory size goes beyond a specified limit<br />* its shared memory size goes below a specified limit<br />* its unshared memory size goes beyond a specified limit<br /><br />SYNOPSIS<br /><br />This module allows you to kill off Apache httpd processes if they grow too large or have too little of shared memory. You can choose to set up the process size limiter to check the process size on every request:<br /><br /> # in your startup.pl:<br /> # ___________________<br /><br /> use Apache::GTopLimit;<br /><br /> # Control the life based on memory size<br /> # in KB, so this is ~10MB<br /> $Apache::GTopLimit::MAX_PROCESS_SIZE = 10000;<br /><br /> # Control the life based on Shared memory size<br /> # in KB, so this is ~4MB<br /> $Apache::GTopLimit::MIN_PROCESS_SHARED_SIZE = 4000;<br /><br /> # Control the life based on UnShared memory size<br /> # in KB, so this is ~6MB<br /> $Apache::GTopLimit::MAX_PROCESS_UNSHARED_SIZE = 6000;<br /><br /> # in your httpd.conf:<br /> # ___________________<br /><br /> # debug mode must be set before the module is loaded<br /> PerlSetVar Apache::GTopLimit::DEBUG 1<br /><br /> # register handler<br /> PerlFixupHandler Apache::GTopLimit<br /> # you can set this up as any Perl*Handler that handles<br /> # part of the request, even the LogHandler will do.<br /><br />Or you can just check those requests that are likely to get big or unshared. This way of checking is also easier for those who are mostly just running Apache::Registry scripts:<br /><br /> # in your handler/CGI script<br /> use Apache::GTopLimit;<br /> # Max Process Size in KB<br /> Apache::GTopLimit->set_max_size(10000);<br /><br />and/or<br /><br /> use Apache::GTopLimit;<br /> # Min Shared process Size in KB<br /> Apache::GTopLimit->set_min_shared_size(4000);<br /><br />and/or<br /><br /> use Apache::GTopLimit;<br /> # Min UnShared process Size in KB<br /> Apache::GTopLimit->set_max_unshared_size(6000);<br /><br />Since accessing the process info might add a little overhead, you may want to only check the process size every N times. To do so, put this in your startup.pl or CGI:<br /><br /> $Apache::GTopLimit::CHECK_EVERY_N_REQUESTS = 2;<br /><br />This will only check the process size every other time the process size checker is called.<br /><br />Note: The MAX_PROCESS_SIZE, MIN_PROCESS_SHARED_SIZE and MAX_PROCESS_UNSHARED_SIZE are independent, and each will be checked if only set. So if you set the first two -- the process can be killed if it grows beyond the limit or its shared memory goes below the limit. It's better not to mix MAX_PROCESS_UNSHARED_SIZE with the first two.

Requirements: No special requirements
Platforms: *nix, Linux , Win All
Keyword: Apachegtoplimit Apachegtoplimit 1 02 Based Check Control Limit Max Process Unshared Size Memory Module Process Shared Unshared
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


APACHE::GTOPLIMIT RELATED
Security Tools  -  Rule Set Based Access Control 1.3.5
Rule Set Based Access Control (RSBAC) is a Free Software security extension for current Linux kernels. Rule Set Based Access Control is based on the Generalized Framework for Access Control (GFAC) by Abrams and LaPadula and provides a flexible...
368.64 KB  
Utilities  -  Userspace Role Based Access Control b.0.0.1
USRBAC is a kernel patch and userspace daemon that allows role based access control to be mitegated in userspace. The goal is to allow a secure way to impliment RBAC compliant security systems using a daemon in userspace
12.79 KB  
Development Tools  -  Model-based Predictive Control: A Practical Approach 1.0
FILES IN SUPPORT OF: Model-based predictive control: a practical approach, by J.A. RossiterEasily editable files to simulate three MIMO predictive control algorithms.These files are intended as a support to this book to enable students to...
20.48 KB  
Security Tools  -  RSBAC 1.3.5
RSBAC (Rule Set Based Access Control) is a Free Software security extension for current Linux kernels. It is based on the Generalized Framework for Access Control (GFAC) by Abrams and LaPadula and provides a flexible system of access control based...
368.64 KB  
Audio Tools  -  PulseAudio Volume Control 0.9.4
Polypaudio Volume Control (pavucontrol) is a simple GTK based volume control tool ("mixer") for the PulseAudio sound server. In contrast to classic mixer tools this one allows you to control both the volume of hardware devices and of each...
90.11 KB  
Multimedia & Graphics  -  MobileRemoteSE 0.1
MobileRemoteSE is a light (non-Java), serial-over-bluetooth-based remote control for Amarok. Uses the Sony Ericsson AT command set, and supports the following Sony Ericsson phone models: K750, W800, Z520, W550, W600, W900, W810, Z530, W300,...
8.19 KB  
Networking Tools  -  AstroCam System 2.7.1
AstroCam is a C based Stepmotor Control system including a PHP-Webinterface. The first AstroCam version was released in Dec 2001 and was written in C+Tcl/Tk. After i saw, that the combination of Tcl/Tk and C code wasnt a good thing, I wrote a...
14.34 KB  
Programming  -  ASP Version Control 0.1.alpha
The aim of the project is to build a web based version control system (vcs) in ASP (Active Server Pages).Features include: Multi user (with levels), Checkin/Checkout files, Labeled versions, Discussion on single files.
116.82 KB  
Puzzles  -  Zep's Dreamland 1.02 1.2
Genre: Puzzle and Trivia About Zep s Dreamland You control a character named Zep throughout this game. The game consists of navigating Zep throughout a level to reach a certain location which allows him to advance to the next level. This is not...
4 MB  
Multimedia  -  phpSC for Music and Sound 0.5b
phpSC is a PHP based shoutcast control panel supporting HTTP Proxy, Multiple server configurations, and easy GUI modification of the shoutcast configuration file.
450.56 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, PROGRAMMING
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB