lessmian2 wrote:
Thanks for reply. I have 32-bit kernel. I have no memory limits for
single process. Ulimit say:
You can look at ulimit as "soft limits". There are always hard limits
based upon your system's architecture and the features of that
architecture you're using. One of these is address space. If you have
32-bit only hardware or you have 64-bit capable hardware but are running
a 32-bit kernel (which implies a 32-bit userspace).... it doesn't matter
what ulimit says. There's a maximum to how much memory an individual
process can address.
Have you tried dormando's suggestions??
Hope that helps,
- Matt
ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 71680
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 71680
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Lesmian2
On 23 Lip, 09:09, dormando <[email protected]> wrote:
Hey,
Are you running a 32-bit or 64-bit OS? If you are 32-bit and your process
size limit is 2G, you should set memcached to a limit of 1800 or so, which
allows for process overhead. If it's 4G or 3.5G, same idea but subtrack a
few hundred megs.
-Dormando
On Tue, 21 Jul 2009, lessmian2 wrote:
Hello.
I have problem with memcached. I have three web servers (Apache2) with
PHP. On all of these servers i have installed memcached. In period of
few days the memcached is crashed with some error like this:
'/usr/bin/memcached: invalid option -- 2 Illegal argument "?"'
and:
'kernel: [2967687.232682] memcached[6431]: segfault at ccbc3706 ip
08049ea1 sp b7ce5200 error 7 in memcached[8048000+c000]'
My hardware (all three servers):
Intel Xeon X3210 @ 2.13GHz
8 GB RAM
RAID 1, 2 x 160GB HDD
My software:
Debian Etch 4.0
Apache 2.2.9
PHP 5.2.6
Memcached 1.2.8-1
PHP memcache client 3.0.1-1
I run memcached like this:
'/usr/bin/memcached -vv -m 4096 -p 11211 -u nobody'
Can anybody help me?
Thanks