Print

Print


Hi

We have found some diferences...

on WN
#ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
file size               (blocks, -f) unlimited
pending signals                 (-i) 29664
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
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 29664
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

with batch system:
#ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) 1048576
file size               (blocks, -f) unlimited
pending signals                 (-i) 30016
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
stack size              (kbytes, -s) 1048576
cpu time               (seconds, -t) 259200
max user processes              (-u) 30016
virtual memory          (kbytes, -v) 1048576
file locks                      (-x) unlimited

# ldd /opt/lcg/bin/lfc-mkdir
both are the same:
 linux-gate.so.1 =>  (0xffffe000)
        libglobus_gssapi_gsi_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_gssapi_gsi_gcc32dbgpthr.so.0 (0xbffe2000)
        libglobus_gss_assist_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_gss_assist_gcc32dbgpthr.so.0 (0xbffd6000)
        libdl.so.2 => /lib/libdl.so.2 (0x00735000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x007c6000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x0073b000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00607000)
        libglobus_gsi_proxy_core_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_gsi_proxy_core_gcc32dbgpthr.so.0 (0xbffad000)
        libglobus_gsi_credential_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_gsi_credential_gcc32dbgpthr.so.0 (0xbff9e000)
        libglobus_gsi_callback_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_gsi_callback_gcc32dbgpthr.so.0 (0xbff94000)
        libglobus_oldgaa_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_oldgaa_gcc32dbgpthr.so.0 (0xbff8b000)
        libglobus_gsi_sysconfig_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_gsi_sysconfig_gcc32dbgpthr.so.0 (0xbff7e000)
        libglobus_gsi_cert_utils_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_gsi_cert_utils_gcc32dbgpthr.so.0 (0xbff79000)
        libglobus_openssl_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_openssl_gcc32dbgpthr.so.0 (0xbff76000)
        libglobus_openssl_error_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_openssl_error_gcc32dbgpthr.so.0 (0xbff72000)
        libglobus_proxy_ssl_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_proxy_ssl_gcc32dbgpthr.so.0 (0xbff6d000)
        libglobus_common_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_common_gcc32dbgpthr.so.0 (0xbff32000)
        libssl_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libssl_gcc32dbgpthr.so.0 (0xbfefc000)
        libcrypto_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libcrypto_gcc32dbgpthr.so.0 (0xbfde8000)
        libltdl_gcc32dbgpthr.so.3 =>
/opt/globus/lib/libltdl_gcc32dbgpthr.so.3 (0xbfde0000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00782000)
        libglobus_callout_gcc32dbgpthr.so.0 =>
/opt/globus/lib/libglobus_callout_gcc32dbgpthr.so.0 (0xbfddb000)
        /lib/ld-linux.so.2 (0x005ed000)

our strace output:
...
...
open("/opt/d-cache/dcap/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/opt/glite/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/opt/lcg/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/opt/log4cxx/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/opt/c-ares/lib/libgcc_s.so.1", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/libgcc_s.so.1", O_RDONLY)    = 5
read(5,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\350w|\0004\0\0\0"...,
512) = 512
fstat64(5, {st_mode=S_IFREG|0755, st_size=40108, ...}) = 0
old_mmap(0x7c6000, 37340, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0xbffc6000
old_mmap(0xbffcf000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x9000) = 0xbffcf000
close(5)                                = 0
mprotect(0xbfd51000, 4096, PROT_READ)   = 0
futex(0x8d2044, FUTEX_WAKE, 2147483647) = 0
munmap(0xbfd53000, 101408)              = 0
rt_sigaction(SIGPIPE, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[ILL TRAP ABRT BUS FPE KILL SEGV PIPE CONT
STOP SYS RTMIN RT_1], [], 8) = 0
mmap2(NULL, 1073745920, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = -1 ENOMEM (Cannot allocate memory)
fstat64(1, {st_mode=S_IFREG|0644, st_size=9255, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xbffc5000
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
write(1, "t3218970304:p3172: Fatal error: "..., 131) = 131
tgkill(3172, 3172, SIGABRT)             = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++


Cheers and thanks
Alvaro
> Hi all
>
> We are testing lfc-mkdir command, from our UI works fine, if we try:
>
> /opt/lcg/bin/lfc-mkdir -p /grid/cesga/asimon/test3
>
> but if we put this line into a script and we submit it we got this error:
>
>
> t3218970304:p26528: Fatal error: [Thread System] GLOBUSTHREAD:
> pthread_create() failed
>
> [Thread System] insufficient memory (ENOMEM)
>
>
>
> Curiously if we run directly this command on a WN using the same user
> certificate this command works without errors.
>
> Has anybody already detected this problem?
>
> Thanks in advance
> Alvaro
>
>
>