Re: [AOLSERVER] Problems with aolserver and memory crash

2009-04-29 Thread ayan
Agustin Lopez wrote:
 Hello!
 
 I have in production six aolserver serving one OpenACS cluster.
 The aolserver works well. We have only one big problem.
 When I try to do some big memory operations which
 need  400 MB, probably the server crash with the log message
 unable to realloc XX bytes or unable to alloc XX bytes
 
 Why this crash? The server have memory for that operation.
 Any way to check the free memory?
 Any solution?
 
 My versions are:
   aolserver 4.5.1
   tcllib-1.11.1
   thread2.6.5
   xotcl-1.6.2
 
 If you need some more info, please tell me.
 

Which operating system are you using?  You might be running into a per
process resource limit.

If you are running a Unix, look into the 'ulimit' command.

-ayan


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Problems with aolserver and memory crash

2009-04-29 Thread Gustaf Neumann
If the limit is ok (ayan's mail), you might run into the maximum segment 
size on 32bit.

If this is the case, recompile everything with 64bit enabled.

-gustaf neumann

Agustin Lopez schrieb:

Hello!

I have in production six aolserver serving one OpenACS cluster.
The aolserver works well. We have only one big problem.
When I try to do some big memory operations which
need  400 MB, probably the server crash with the log message
unable to realloc XX bytes or unable to alloc XX bytes

Why this crash? The server have memory for that operation.
Any way to check the free memory?
Any solution?

My versions are:
  aolserver 4.5.1
  tcllib-1.11.1
  thread2.6.5
  xotcl-1.6.2

If you need some more info, please tell me.

Best regards,
Agustin


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the 
Subject: field of your email blank.



--
Univ.Prof. Dr. Gustaf Neumann
Institut of Information Systems and New Media
WU Vienna
Augasse 2-6, A-1090 Vienna, AUSTRIA


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.


Re: [AOLSERVER] Problems with aolserver and memory crash

2009-04-29 Thread Agustin Lopez

More info on the problem:

All the system is 64 bits enabled.

file /usr/local/aolserver/bin/nsd
/usr/local/aolserver/bin/nsd: ELF 64-bit LSB executable, x86-64, version 
1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, 
not stripped


Debian lenny
uname -a
Linux 2.6.18-xen #1 SMP Mon Dec 10 14:47:51 CET 2007 x86_64 GNU/Linux

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) 48064
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) 48064
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited

gdb
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x4508e950 (LWP 8422)]
0x2b68c2a934a6 in Tcl_AttemptSetObjLength () from 
/usr/local/aolserver-4.5.1/lib/libtcl8.4.so

Current language:  auto; currently asm

gdb bactrace
#71 0x2b68c25d6f5e in ProcRequest () from 
/usr/local/aolserver-4.5.1/lib/libnsd.so
#72 0x2b68c25c1fde in Ns_ConnRunRequest () from 
/usr/local/aolserver-4.5.1/lib/libnsd.so
#73 0x2b68c25c439a in NsConnThread () from 
/usr/local/aolserver-4.5.1/lib/libnsd.so
#74 0x2b68c2802756 in ThreadMain () from 
/usr/local/aolserver-4.5.1/lib/libnsthread.so

#75 0x2b68c2eddfc7 in start_thread () from /lib/libpthread.so.0
#76 0x2b68c365d5ad in clone () from /lib/libc.so.6
#77 0x in ?? ()


Gustaf Neumann escribió:
If the limit is ok (ayan's mail), you might run into the maximum 
segment size on 32bit.

If this is the case, recompile everything with 64bit enabled.

-gustaf neumann

Agustin Lopez schrieb:

Hello!

I have in production six aolserver serving one OpenACS cluster.
The aolserver works well. We have only one big problem.
When I try to do some big memory operations which
need  400 MB, probably the server crash with the log message
unable to realloc XX bytes or unable to alloc XX bytes

Why this crash? The server have memory for that operation.
Any way to check the free memory?
Any solution?

My versions are:
  aolserver 4.5.1
  tcllib-1.11.1
  thread2.6.5
  xotcl-1.6.2

If you need some more info, please tell me.

Best regards,
Agustin


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the 
Subject: field of your email blank.






--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to 
lists...@listserv.aol.com with the
body of SIGNOFF AOLSERVER in the email message. You can leave the Subject: 
field of your email blank.