Re: FreeBSD 5.4 - filesystem full

2008-11-13 Thread Varshavchick Alexander
Booting into single-user via serial console, KVM, KVM-over-IP, or iLO/LOM (if HP/Compaq) is sufficient. If you have servers which are remote and you lack any of these features, I'm both surprised and not sure what to tell you. You'll encounter this problem with any OS, not just FreeBSD. I'm lo

Re: FreeBSD 5.4 - filesystem full

2008-11-13 Thread Varshavchick Alexander
On Wed, 12 Nov 2008, Adrian Penisoara wrote: What kind of applications are you running on the machine ? Are they mmap'ing files on the filesystem in quesiton (which one ?) ? mainly apache, sphinx's search daemon and several perl scripts AFAIR even if you delete a big file the disk space ma

Re: FreeBSD 5.4 - filesystem full

2008-11-12 Thread Varshavchick Alexander
I would start by taking the machine down, booting it into single-user, and running fsck -y. background fsck does not catch all errors. Okay then, are there any ways of performing it remotely, without my going to the data center and standing near the server for an hour while it checks? I mean

Re: FreeBSD 5.4 - filesystem full

2008-11-12 Thread Varshavchick Alexander
On Wed, 12 Nov 2008, Jeremy Chadwick wrote: I would start by taking the machine down, booting it into single-user, and running fsck -y. background fsck does not catch all errors. Background fsck has been turned off from the beginning, and a couple of weeks ago when there was a power break, f

FreeBSD 5.4 - filesystem full

2008-11-12 Thread Varshavchick Alexander
I have an old enough server with FreeBSD 5.4 which from time to time complains about filesystem full. But the problem is that the partition in question has about 15G free space and more than 1000 free inodes. Then all by itself the error dissapears, only to be repeated several hours later.

FreeBSD 5.4 - filesystem full

2008-11-12 Thread Varshavchick Alexander
I have an old enough server with FreeBSD 5.4 which from time to time complains about filesystem full. But the problem is that the partition in question has about 15G free space and more than 1000 free inodes. Then all by itself the error dissapears, only to be repeated several hours later.

httpd and /etc/pwd.db

2004-09-22 Thread Varshavchick Alexander
Hello, I have a problem with apache httpd daemon which sporadically starts creating child processes (and never killing them), which takes place after writing the following into the syslog and system console: httpd: /etc/pwd.db Can it be the problem with the scripts working under mod_perl, or htt

SIGPIPE in popper

2003-12-25 Thread Varshavchick Alexander
Hi everyone and Merry Christmas! I have the following problem: after moving cucipop popper daemon to FreeBSD 4.9 from 4.5, the popper often terminates with a SIGPIPE, even if the client resides on the same server. It never occured on FreeBSD 4.5. It seems as though the tcp connection breaks unexpe

perl_call_sv

2003-12-03 Thread Varshavchick Alexander
Hi everyone, when trying to run some perl program (Interchange to be precise), I get the following error: /usr/libexec/ld-elf.so.1: /usr/local/interchange/lib/auto/Safe/Hole/Hole.so: Undefined symbol "perl_call_sv" The system is a fresh install of 4.9-RELEASE. Any help is greatly appreciated.

Re: libjavaplugin_oji.so

2003-10-30 Thread Varshavchick Alexander
the Linux JDK is installed you can return to the build of the > native JDK and specify WITH_LINUX_BOOTSTRAP=yes. > > Once I had done that all worked fine. > > Jon > > Varshavchick Alexander wrote: > > Hi guys, > > > > can anybody please send a file to me or gi

libjavaplugin_oji.so

2003-10-30 Thread Varshavchick Alexander
Hi guys, can anybody please send a file to me or give a link where I can download it myself: jdk1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so I'm trying to run Mozilla and all worked well except java support, because the compiling of jdk13 didn't work due to some weird errors, and ftp/

Re: Load Average more than 400

2003-10-29 Thread Varshavchick Alexander
On Tue, 28 Oct 2003 [EMAIL PROTECTED] wrote: > MySQL has done this to me after an unclean shutdown. > Try stopping mysqld and running myisamchk -r on all tables. first of all, I use mostly innodb tables, and secondly, and besides, there was indeed an unclean shutdown recently but already several

Re: Load Average more than 400

2003-10-29 Thread Varshavchick Alexander
On Tue, 28 Oct 2003, Daniela wrote: > Watch your top (or ps -ax) output. Anything odd there? > Nothing odd - many mysqld processes as usual... Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) ___ [EMAIL PROT

Re: Load Average more than 400

2003-10-29 Thread Varshavchick Alexander
On Tue, 28 Oct 2003, Charles Swiger wrote: > What does "ps auxw" look like when you have this load spike? Nothing unusual - mysqld processes, nothing else... Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) __

Load Average more than 400

2003-10-28 Thread Varshavchick Alexander
Hi gurus, can you please hint as what parameters I have monitor to find the cause of sudden splashes of load of a FreeBSD 4.6.2-RELEASE server? This box is acting as a database/mysql server and periodically goes up to 400 of load average values and then gradually returns to a normal 4-5 value. The

Re: nmbclusters and nmbufs

2003-08-19 Thread Varshavchick Alexander
On Tue, 19 Aug 2003, Alex de Kruijff wrote: > > Can anybody advise me please if I want to increase nmbclusters option in > > kernel, can I just type > > sysctl kern.ipc.nmbclusters="16384" > > without rebooting the server, or is the only way to set the NMBCLUSTERS > > option in kernel, install

Re: nmbclusters and nmbufs

2003-08-19 Thread Varshavchick Alexander
On Tue, 19 Aug 2003, Jack L. Stone wrote: > You can modify those "on fly" without a reboot with: > sysctl kern.nmbclusters=n ("n" being the number of choice) No, it doesn't work: sysctl: oid 'kern.ipc.nmbclusters' is read only > > You can then put the statements in the /boot/loader.conf and

nmbclusters and nmbufs

2003-08-19 Thread Varshavchick Alexander
Hi, Can anybody advise me please if I want to increase nmbclusters option in kernel, can I just type sysctl kern.ipc.nmbclusters="16384" without rebooting the server, or is the only way to set the NMBCLUSTERS option in kernel, install the new kernel and reboot? And secondly, also I need t

How to delete unix socket entry

2003-06-24 Thread Varshavchick Alexander
Hi people, I had a wrong-behaved server application which opened a unix socket to respond to incoming connections, so after the socket was opened, the application core dumped each time it was launched. As a result, 'netstat -f unix' now shows a lot of not-needed active entries. Is there any way to

Re: differentiating apache children from parents ?

2003-01-24 Thread Varshavchick Alexander
From: Josh Brooks <[EMAIL PROTECTED]> > To: Varshavchick Alexander <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: Re: differentiating apache children from parents ? > > > I want to kill apache children that exceed a certain memory size - but I > want to make

Re: differentiating apache children from parents ?

2003-01-24 Thread Varshavchick Alexander
you can look at the parent pid of the process in question wether it is 1 or not: ps xa -oppid -p _PID_ But depending on what you're trying to do afterwards (for example kill the process if you determine by some external script that there are too many apaches running and you're not satisfied with

Re: Big directory size

2003-01-14 Thread Varshavchick Alexander
> To: [EMAIL PROTECTED] > Subject: Re: Big directory size > > Varshavchick Alexander <[EMAIL PROTECTED]> writes: > > > I had a directory with a lot of files (about 100 000), and naturally, the > > size of the directory entry itself was big enough (about 1M). Now I've >

Re: Big directory size

2003-01-14 Thread Varshavchick Alexander
:50 + > From: Daniel Bye <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Big directory size > > On Mon, Jan 13, 2003 at 02:45:16PM +0300, Varshavchick Alexander wrote: > > Hello, > > > > I had a directory with a lot of files (about 100 000), an

Big directory size

2003-01-13 Thread Varshavchick Alexander
Hello, I had a directory with a lot of files (about 100 000), and naturally, the size of the directory entry itself was big enough (about 1M). Now I've split all these files to different subdirectories, to increase the system performance. The major directory entry size didn't change, however such

Re: maxusers and random system freezes

2002-12-19 Thread Varshavchick Alexander
FFS node malloc area can be increased? Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Thu, 19 Dec 2002, Varshavchick Alexander wrote: > Date: Thu, 19 Dec 2002 13:29:18 +0300 (MSK) > From: Varshavchick Alexander <[EMAIL PROTECTED]>

Re: maxusers and random system freezes

2002-12-19 Thread Varshavchick Alexander
it please? Thanks a lot, regards Alexander Varshavchick, Metrocom Joint Stock Company Phone: (812)118-3322, 118-3115(fax) On Mon, 9 Dec 2002, Dmitry Morozovsky wrote: > Date: Mon, 9 Dec 2002 22:32:04 +0300 (MSK) > From: Dmitry Morozovsky <[EMAIL PROTECTED]> > To: Varshavchick A

Re: maxusers and random system freezes

2002-12-09 Thread Varshavchick Alexander
0 > From: David Schultz <[EMAIL PROTECTED]> > To: Varshavchick Alexander <[EMAIL PROTECTED]> > Cc: Terry Lambert <[EMAIL PROTECTED]>, [EMAIL PROTECTED], > [EMAIL PROTECTED] > Subject: Re: maxusers and random system freezes > > Thus spake Varshavchick Alexan

Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Fri, 6 Dec 2002, David Schultz wrote: ... > > Yes this makes sense, however this call to pthread_create didn't specify > > any special addresses for the new thread. The pthread_create was called > > with the NULL attribute which means that the system defaults were being > > used. Something in t

Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Fri, 6 Dec 2002, David Schultz wrote: > Thus spake Varshavchick Alexander <[EMAIL PROTECTED]>: > > Well, now I made KVA space 2G, we'll see later on if it helps to get rid > > of the sudden system halts, but for some reason a side-effect has > > appeared: pthrea

Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Fri, 6 Dec 2002, David Schultz wrote: > > vm.zone_kmem_pages: 5413 > > vm.zone_kmem_kvaspace: 218808320 > > vm.kvm_size: 1065353216 > > vm.kvm_free: 58720256 > > > > does it mean that total KVA reservation is 1065353216 bytes (1G) and > > almost all of it is really mapped to physical memory bec

Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Thu, 5 Dec 2002, Terry Lambert wrote: ... > > Are you talking primarily about SHMMAXPGS=262144 option here? Then may be > > it'll be oevrall better to reduce it and make KVA space 2G, to leave more > > room for user address space? > > That's the one I was referring to, yes, but you didn't post

Re: maxusers and random system freezes

2002-12-06 Thread Varshavchick Alexander
On Thu, 5 Dec 2002, David Schultz wrote: > In FreeBSD, each process has a unique 4G virtual address space > associated with it. Not every virtual page in every address space > has to be associated with real memory. Most pages can be pushed > out to disk when there isn't enough free RAM, and una

Re: maxusers and random system freezes

2002-12-05 Thread Varshavchick Alexander
On Thu, 5 Dec 2002, David Schultz wrote: > In FreeBSD, each process has a unique 4G virtual address space > associated with it. Not every virtual page in every address space > has to be associated with real memory. Most pages can be pushed > out to disk when there isn't enough free RAM, and unal

Re: maxusers and random system freezes

2002-12-05 Thread Varshavchick Alexander
On Thu, 5 Dec 2002, Terry Lambert wrote: > IMO, KVA need to be more than half of physical memory. But I tend > to use a lot of mbufs and mbuf clusters in products I work on lately > (mostly networking stuff). If you don't tune kernel memory usage up, > then you may be able to get away with 2G.

Re: maxusers and random system freezes

2002-12-05 Thread Varshavchick Alexander
On Thu, 5 Dec 2002, Terry Lambert wrote: ... > > Because it's not defined in the custom > > server's kernel then it's value default to 256 (FreeBSD 4.5-STABLE), which > > makes the KVA space to occupy 1G. Then if I make KVA_PAGES=512 (KVA space > > 2G), will it solve the problem for this particul

Re: maxusers and random system freezes

2002-12-05 Thread Varshavchick Alexander
On Wed, 4 Dec 2002, Terry Lambert wrote: > grep -B 7 KVA_ /sys/i386/conf/LINT > > -- Terry > Thanks a lot Terry, and will you please correct me if I'm wrong, so I don't mess anything up on a production server? The kernel option in question is KVA_PAGES, correct? Because it's not defined in t

Re: maxusers and random system freezes

2002-12-04 Thread Varshavchick Alexander
On Wed, 4 Dec 2002, Terry Lambert wrote: > Varshavchick Alexander wrote: > > Can it be so that kernel maxusers=768 value being more than 512 leads to > > spontaneous system freezes which can take up to several hours when the > > system is just sleeping (only replying to pi

maxusers and random system freezes

2002-12-04 Thread Varshavchick Alexander
Hi people, Can it be so that kernel maxusers=768 value being more than 512 leads to spontaneous system freezes which can take up to several hours when the system is just sleeping (only replying to ping) and doing nothing else, not allowing to telnet or anything. The system is 4.5-STABLE with much

D-Link DGE-550T NIC

2002-11-02 Thread Varshavchick Alexander
Hi people, did anybody use it with FreeBSD 4.5? The problem is that the system doesn't see it, however 'nge' and 'miibus' support are included into the kernel. Is it correct that it must be 'nge', because as described in the man page, only DGE-500T card is supported by nge, however both DGE-550T a

semop: no space left on device

2002-09-18 Thread Varshavchick Alexander
Hi, can you advice which SYSV kernel options and how should I tweak to make more room for semaphores and shared memory? They are several of them in the LINT kernel, should I change all of them, or which? And the second question: how can I delete unused private shared memory segments? for example