<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2255994634256863374</id><updated>2011-11-14T20:25:38.340-08:00</updated><category term='ref:-http://www.cyberciti.biz/faq/apache-server-status/'/><category term='http://carlosrivero.com/fix-apache---no-space-left-on-device-couldnt-create-accept-lock'/><title type='text'>Pramod Kumar</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pramodworld.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2255994634256863374/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pramodworld.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Pramod</name><uri>http://www.blogger.com/profile/07885858473862723436</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2255994634256863374.post-883973335190643501</id><published>2011-10-13T23:21:00.000-07:00</published><updated>2011-10-13T23:33:54.448-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ref:-http://www.cyberciti.biz/faq/apache-server-status/'/><title type='text'>Display Apache Server Status with mod_status</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-3L4Tv7vyhVY/TpfXsI6XPvI/AAAAAAAAA-4/K67q2KiB83E/s1600/Untitled.jpeg"&gt;&lt;img style="float: right; margin: 0pt 0pt 10px 10px; cursor: pointer; width: 320px; height: 180px;" src="http://1.bp.blogspot.com/-3L4Tv7vyhVY/TpfXsI6XPvI/AAAAAAAAA-4/K67q2KiB83E/s320/Untitled.jpeg" alt="" id="BLOGGER_PHOTO_ID_5663232209748180722" border="0" /&gt;&lt;/a&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;Q.&lt;/span&gt; How do I display  Apache server status such as current server activity and performance  under Red Hat Enterprise Linux / UNIX / BSD?&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;A. &lt;/span&gt;You can use regular Linux / UNIX commands such as &lt;a href="http://www.cyberciti.biz/tips/tag/lsof-command"&gt;lsof&lt;/a&gt;, &lt;a href="http://www.cyberciti.biz/tips/tag/netstat-command"&gt;netstat&lt;/a&gt;, &lt;a href="http://www.cyberciti.biz/tips/linux-resource-utilization-to-detect-system-bottlenecks.html"&gt;top, vmstat&lt;/a&gt; and others to view apache server activity, status and performance from a shell prompt. However, I &lt;strong&gt;recommend mod_status&lt;/strong&gt; because it provides good information about Apache server.&lt;/p&gt; &lt;h2&gt;mod_status Apache module&lt;/h2&gt; &lt;p&gt;There is also mod_status built into Apache web server to get server  status from a web browser. With this module you can easily find out how  well your server is preforming. All reports are generated in a  html  format. You can easily find out following type of information:  &lt;/p&gt; &lt;ol&gt;&lt;li&gt;Total number of worker serving requests&lt;/li&gt;&lt;li&gt;Total number of of idle worker&lt;/li&gt;&lt;li&gt;Find the  status of each worker, the number of requests that worker  has performed and the total number of bytes served by the worker &lt;/li&gt;&lt;li&gt;Total number byte count served &lt;/li&gt;&lt;li&gt;Other information such as CPU usage, number of requests per second,current hosts and requests being processed etc.&lt;/li&gt;&lt;/ol&gt; &lt;h2&gt;How do I configure mod_status to display Apache web server status?&lt;/h2&gt; &lt;p&gt;Open your httpd.conf / apache2.conf file:&lt;br /&gt;&lt;code&gt;# vi httpd.conf&lt;/code&gt;&lt;br /&gt;Fnd out (append line) that read as follows to allow access from 10.1.2.5 only:&lt;/p&gt; &lt;pre&gt;&lt;location status=""&gt;&lt;br /&gt;SetHandler server-status&lt;br /&gt;Order Deny,Allow&lt;br /&gt;Deny from all&lt;br /&gt;Allow from 10.1.2.5&lt;br /&gt;&lt;/location&gt;&lt;/pre&gt; &lt;p&gt;You can also restrict access using a domain name:&lt;/p&gt; &lt;pre&gt;&lt;location status=""&gt;&lt;br /&gt;SetHandler server-status&lt;br /&gt;Order Deny,Allow&lt;br /&gt;Deny from all&lt;br /&gt;Allow from w1.g2.dc3.helpdesk.nixcraft.com&lt;br /&gt;&lt;/location&gt;&lt;/pre&gt; &lt;p&gt;Save and close the file. Restart web server, enter:&lt;br /&gt;&lt;code&gt;# service httpd restart&lt;/code&gt;&lt;br /&gt;Fire a webbrowser and type the url http://your-server-ip/server-status or http://your-corp.com/server-status&lt;br /&gt;&lt;/p&gt;&lt;h3&gt;Sample Apache Server Status Report&lt;/h3&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="display: block;" id="formatbar_Buttons"&gt;&lt;span onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="addImage();" onmousedown="CheckFormatting(event);;ButtonMouseDown(this);" class=" on" style="display: block;" id="formatbar_Add_Image" title="Add Image"&gt;&lt;img src="http://www.blogger.com/img/blank.gif" alt="Add Image" class="gl_photo" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2255994634256863374-883973335190643501?l=pramodworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pramodworld.blogspot.com/feeds/883973335190643501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2255994634256863374&amp;postID=883973335190643501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2255994634256863374/posts/default/883973335190643501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2255994634256863374/posts/default/883973335190643501'/><link rel='alternate' type='text/html' href='http://pramodworld.blogspot.com/2011/10/display-apache-server-status-with.html' title='Display Apache Server Status with mod_status'/><author><name>Pramod</name><uri>http://www.blogger.com/profile/07885858473862723436</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-3L4Tv7vyhVY/TpfXsI6XPvI/AAAAAAAAA-4/K67q2KiB83E/s72-c/Untitled.jpeg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2255994634256863374.post-7914228001648284321</id><published>2011-02-08T03:43:00.000-08:00</published><updated>2011-02-08T03:46:35.708-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='http://carlosrivero.com/fix-apache---no-space-left-on-device-couldnt-create-accept-lock'/><title type='text'>Fix Apache - No space left on device: Couldn't create accept lock or Cannot create SSLMutex</title><content type='html'>When dealing with mem-leaks in my mod_perl-apps I ran into a curious  apache-problem. After a while apache could not be started but failed  with strange errors like: [emerg] (28)No space left on device: Couldn't create accept lock or [crit] (28)No space left on device: mod_rewrite: could not create  rewrite_log_lock Configuration Failed or  [Wed Dec 07 00:00:09 2005] [error] (28)No space left on device: Cannot  create SSLMutex There was definitely enough space on the device where the locks are  stored (default /usr/local/apache2/logs/). I tried to explicetely  different Lockfiles using the LockFile-directive but this did not help. I  also tried a non-default AcceptMutex (flock) which then solved the  acceptlock-issue and ended in the rewrite_log_lock-issue. Only reboot of the system helped out of my crisis. Solution: There were myriads of semaphore-arrays left, owned by my  apache-user.&lt;br /&gt;&lt;code&gt;&lt;br /&gt;ipcs -s | grep apache&lt;br /&gt;&lt;/code&gt;&lt;br /&gt; Removing this semaphores immediately solved the problem.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;ipcs -s | grep apache&lt;/code&gt;&lt;code&gt;ipcs -s | grep apache | perl -e 'while (&lt;stdin&gt;) { @a=split(/\s+/); print `ipcrm sem $a[1]`}'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then restart the Apache. No need to restart the server Just restart the server &amp;amp; enjoy the work.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2255994634256863374-7914228001648284321?l=pramodworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pramodworld.blogspot.com/feeds/7914228001648284321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2255994634256863374&amp;postID=7914228001648284321' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2255994634256863374/posts/default/7914228001648284321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2255994634256863374/posts/default/7914228001648284321'/><link rel='alternate' type='text/html' href='http://pramodworld.blogspot.com/2011/02/fix-apache-no-space-left-on-device.html' title='Fix Apache - No space left on device: Couldn&apos;t create accept lock or Cannot create SSLMutex'/><author><name>Pramod</name><uri>http://www.blogger.com/profile/07885858473862723436</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2255994634256863374.post-6363666383450806500</id><published>2010-11-11T18:32:00.001-08:00</published><updated>2010-11-11T18:34:09.713-08:00</updated><title type='text'>very good website.</title><content type='html'>http://openhelp.net/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2255994634256863374-6363666383450806500?l=pramodworld.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pramodworld.blogspot.com/feeds/6363666383450806500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2255994634256863374&amp;postID=6363666383450806500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2255994634256863374/posts/default/6363666383450806500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2255994634256863374/posts/default/6363666383450806500'/><link rel='alternate' type='text/html' href='http://pramodworld.blogspot.com/2010/11/very-good-website.html' title='very good website.'/><author><name>Pramod</name><uri>http://www.blogger.com/profile/07885858473862723436</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
