Welcome to iraf.net Monday, May 20 2024 @ 06:51 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 IRAF is REALLY Slow on Kubuntu 7.04
   
cptsteiny
 06/03/2007 03:29AM (Read 7349 times)  
+----
Newbie

Status: offline


Registered: 07/19/2006
Posts: 6
First, I installed IRAF via the instructions laid out by Michael Hutchinson at http://mjhutchinson.com/journal/2006-11-05/install_iraf_on_ubuntu_edgy_amd64When I run IRAF and try to do any sort of task, IRAF takes literally at least 10 minutes to finish it. For example, I tried to run "imstat" on a small image and it took 10 minutes to complete. The length of time to compete similar tasks is also exceedingly long.I am on a 32 bit machine running Kubuntu 7.04. The processor is 1.6 GHz.Also, in a past life, this computer was running IRAF under a different operating system (SuSE 10.1) and I know that running "imstat" on similar images did not take 10 minutes to complete.Any ideas on what's going on here? Thanks for any help you all can provide.
-Justin

 
Profile Email
 Quote
fitz
 06/03/2007 03:29AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
This has been hinted at in postings over the years but was never resolved by the user. You can rule out problems with your data (e.g. it being on an NFS mounted disk) by using the dev$pix test image, but the trick is still to find out what's happening all that time. You can use the 'strace' system task to trace the system calls by running the binary directly, e.g.[code:1:d55247a1b0]
% strace /iraf/iraf/bin.linux/x_images.e
> imstatistics
....respond to each parameter manually
> bye
%
[/code:1:d55247a1b0]At some point you should see the strace output stall doing something, or else go into some kind of loop. Post the result if you're not sure what's happening. You might also use the 'dmesg' command to look at the system log and see if some kind of error is reported. Both strace and dmesg will probably be in /usr/bin, /bin or maybe /usr/sbin or /sbin.Cheers,
-Mike

 
Profile Email
 Quote
cptsteiny
 06/03/2007 03:29AM  
+----
Newbie

Status: offline


Registered: 07/19/2006
Posts: 6
Thanks for the prompt reply. I've run the strace command as you suggested and here's what it output... (sorry, it's kind of long) Somewhere in the middel I denote where the process stalled...strace /iraf/iraf/bin.linux/x_images.e
execve("/iraf/iraf/bin.linux/x_images.e", ["/iraf/iraf/bin.linux/x_images.e"], [/* 33 vars */]) = 0
brk(0) = 0x8439000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f01000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=64459, ...}) = 0
mmap2(NULL, 64459, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ef1000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P4\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=153424, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef0000
mmap2(NULL, 155776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ec9000
mmap2(0xb7eee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24) = 0xb7eee000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0`\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1307104, ...}) = 0
mmap2(NULL, 1312164, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7d88000
mmap2(0xb7ec3000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13b) = 0xb7ec3000
mmap2(0xb7ec6000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ec6000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d87000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7d876c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7ec3000, 4096, PROT_READ) = 0
munmap(0xb7ef1000, 64459) = 0
getpid() = 13817
brk(0) = 0x8439000
brk(0x845a000) = 0x845a000
open("/etc/localtime", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f00000
read(3, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\4\0\0\0\4\0"..., 4096) = 1017
close(3) = 0
munmap(0xb7f00000, 4096) = 0
open("/proc/meminfo", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f00000
read(3, "MemTotal: 515980 kB\nMemFre"..., 1024) = 728
close(3) = 0
munmap(0xb7f00000, 4096) = 0
getrlimit(RLIMIT_RSS, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
rt_sigaction(SIGILL, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGABRT, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGBUS, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGUSR1, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGSEGV, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGUSR2, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGFPE, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGSTKFLT, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGPIPE, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
uname({sys="Linux", node="zaphod", ...}) = 0
fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
open("/usr/include/iraf.h", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=3489, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f00000
read(3, "/*\n * IRAF.H -- Index to the IRA"..., 4096) = 3489
close(3) = 0
munmap(0xb7f00000, 4096) = 0
open("/etc/iraf/iraf/dev/hosts", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=255, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=255, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f00000
read(3, "# HOSTS -- IRAF local network ho"..., 4096) = 255
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7f00000, 4096) = 0
access("zzsetenv.def", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/iraf/iraf/unix/hlib/zzsetenv.def", F_OK) = 0
rt_sigaction(SIGINT, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGTERM, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
open("/etc/iraf/iraf/unix/hlib/zzsetenv.def", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2344, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=2344, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=2344, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=2344, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f00000
_llseek(3, 0, [0], SEEK_SET) = 0
read(3, "# Global IRAF base environment l"..., 4096) = 2344
rt_sigaction(SIGINT, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGTERM, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
open("/etc/iraf/iraf/unix/hlib/extern.pkg", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=570, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=570, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=570, ...}) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=570, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7eff000
_llseek(4, 0, [0], SEEK_SET) = 0
read(4, "# External (non core-system) pac"..., 4096) = 570
read(4, "", 4096) = 0
close(4) = 0
munmap(0xb7eff000, 4096) = 0
read(3, "", 4096) = 0
close(3) = 0
munmap(0xb7f00000, 4096) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f00000
write(1, "> ", 2> ) = 2
fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7eff000
read(0, imstatistics
"imstatistics\n", 1024) = 13
write(1, "images: ", 8images: ) = 8
read(0, bias.001.fits
"bias.001.fits\n", 1024) = 14
brk(0x8480000) = 0x8480000
write(1, "fields: ", 8fields: ) = 8
read(0, image,npix,mean,stddev,min,max
"image,npix,mean,stddev,min,max\n", 1024) = 31
write(1, "lower: ", 7lower: ) = 7
read(0, INDEF
"INDEF\n", 1024) = 6
write(1, "upper: ", 7upper: ) = 7
read(0, INDEF
"INDEF\n", 1024) = 6
write(1, "nclip: ", 7nclip: ) = 7
read(0, 0
"0\n", 1024) = 2
write(1, "lsigma: ", 8lsigma: ) = 8
read(0, 3.
"3.\n", 1024) = 3
write(1, "usigma: ", 8usigma: ) = 8
read(0, 3.
"3.\n", 1024) = 3
write(1, "binwidth: ", 10binwidth: ) = 10
read(0, 0.1
"0.1\n", 1024) = 4
write(1, "format: ", 8format: ) = 8
read(0, yes
"yes\n", 1024) = 4
write(1, "cache: ", 7cache: ) = 7
read(0, no
"no\n", 1024) = 3
write(1, "# IMAGE NPIX "..., 72# IMAGE NPIX MEAN STDDEV MIN MAX
) = 72
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d66000
access("bias.001.fits", F_OK) = 0
access("bias.001.fits", F_OK) = 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7d45000
getcwd("/bighd/research/backdata/wiyn/n4red", 1024) = 36
rt_sigaction(SIGINT, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGTERM, {SIG_IGN}, NULL, 8) = 0
rt_sigaction(SIGINT, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGTERM, {0x82a5563, [], SA_NOMASK|SA_SIGINFO}, NULL, 8) = 0
open("/bighd/research/backdata/wiyn/n4red/bias.001.fits", O_RDONLY|O_NONBLOCK) = 3
fcntl64(3, F_SETFL, O_RDONLY) = 0
stat64("/bighd/research/backdata/wiyn/n4red/bias.001.fits", {st_mode=S_IFREG|0644, st_size=8680320, ...}) = 0
getuid32() = 1000
getuid32() = 1000
open("/etc/resolv.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=96, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7efe000
read(4, "search physics.ucsb.edu\nnameserv"..., 4096) = 96
read(4, "", 4096) = 0
close(4) = 0
munmap(0xb7efe000, 4096) = 0
stat64("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=96, ...}) = 0
open("/etc/resolv.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=96, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7efe000
read(4, "search physics.ucsb.edu\nnameserv"..., 4096) = 96
read(4, "", 4096) = 0
close(4) = 0
munmap(0xb7efe000, 4096) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 4
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(4) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=513, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7efe000
read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 513
read(4, "", 4096) = 0
close(4) = 0
munmap(0xb7efe000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=64459, ...}) = 0
mmap2(NULL, 64459, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7d35000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\31\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=38416, ...}) = 0
mmap2(NULL, 41624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7ef4000
mmap2(0xb7efd000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x8) = 0xb7efd000
close(4) = 0
munmap(0xb7d35000, 64459) = 0
open("/etc/host.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef3000
read(4, "# The \"order\" line is only used "..., 4096) = 92
read(4, "", 4096) = 0
close(4) = 0
munmap(0xb7ef3000, 4096) = 0
open("/etc/hosts", O_RDONLY) = 4
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=242, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef3000
read(4, "127.0.0.1\tlocalhost\n127.0.1.1\tza"..., 4096) = 242
read(4, "", 4096) = 0
close(4) = 0
munmap(0xb7ef3000, 4096) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(8677), sin_addr=inet_addr("127.0.0.1")}, 16 HERE IS WHERE IT STALLED... = -1 ETIMEDOUT (Connection timed out)
close(4) = 0
stat64("/bighd/research/backdata/wiyn/n4red/bias.001.fits", {st_mode=S_IFREG|0644, st_size=8680320, ...}) = 0
getuid32() = 1000
getuid32() = 1000
stat64("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=96, ...}) = 0
stat64("/etc/resolv.conf", {st_mode=S_IFREG|0644, st_size=96, ...}) = 0
open("/etc/hosts", O_RDONLY) = 4
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=242, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef3000
read(4, "127.0.0.1\tlocalhost\n127.0.1.1\tza"..., 4096) = 242
read(4, "", 4096) = 0
close(4) = 0
munmap(0xb7ef3000, 4096) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(8677), sin_addr=inet_addr("127.0.0.1")}, 16 STALLED AGAIN...= -1 ETIMEDOUT (Connection timed out)
close(4) = 0
stat64("/bighd/research/backdata/wiyn/n4red/bias.001.fits", {st_mode=S_IFREG|0644, st_size=8680320, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=64459, ...}) = 0
mmap2(NULL, 64459, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7d35000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libnss_compat.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\16\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=30436, ...}) = 0
mmap2(NULL, 33348, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7d2c000
mmap2(0xb7d33000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x6) = 0xb7d33000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libnsl.so.1", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`0\0\000"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=79596, ...}) = 0
mmap2(NULL, 91944, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7d15000
mmap2(0xb7d28000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x12) = 0xb7d28000
mmap2(0xb7d2a000, 5928, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7d2a000
close(4) = 0
munmap(0xb7d35000, 64459) = 0
open("/etc/ld.so.cache", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=64459, ...}) = 0
mmap2(NULL, 64459, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb7d35000
close(4) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libnss_nis.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\31\0"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=34352, ...}) = 0
mmap2(NULL, 37436, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 4, 0) = 0xb7d0b000
mmap2(0xb7d13000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 4, 0x7) = 0xb7d13000
close(4) = 0
munmap(0xb7d35000, 64459) = 0
open("/etc/passwd", O_RDONLY) = 4
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
open("/etc/default/nss", O_RDONLY) = -1 ENOENT (No such file or directory)
socket(PF_FILE, SOCK_STREAM, 0) = 5
fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(5) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 5
fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(5) = 0
open("/etc/passwd", O_RDONLY) = 5
fcntl64(5, F_GETFD) = 0
fcntl64(5, F_SETFD, FD_CLOEXEC) = 0
_llseek(5, 0, [0], SEEK_CUR) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=1798, ...}) = 0
mmap2(NULL, 1798, PROT_READ, MAP_SHARED, 5, 0) = 0xb7ef3000
_llseek(5, 1798, [1798], SEEK_SET) = 0
munmap(0xb7ef3000, 1798) = 0
close(5) = 0
close(4) = 0
times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1733573934
time(NULL) = 1180982742
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
read(3, "SIMPLE = T "..., 65536) = 65536
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1017, ...}) = 0
time(NULL) = 1180982742
close(3) = 0
write(2, "\nPANIC in `/iraf/iraf/bin.linux/"..., 71
PANIC in `/iraf/iraf/bin.linux/x_images.e': Memory has been corrupted
) = 71
exit_group(570) = ?
Process 13817 detached
Thanks again for your help,
-Justin

 
Profile Email
 Quote
fitz
 06/03/2007 03:29AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Justin,The 'memory has been corrupted' looks familiar....Try this: edit the hlib$cl.csh script (i.e. what the 'cl' command link points to) and near the top of the file add the command[code:1:142145e824]limit stacksize unlimited[/code:1:142145e824]I'm thinking you're somehow ending up in a system call (i.e. something trying to resolve a network address) and that's causing the hang. For v2.12.2a and later this limit command should be automatic but perhaps not for the 'linux' arch, you can also just type it on the command-line before the 'cl' if you use C-shell.-Mike

 
Profile Email
 Quote
cptsteiny
 06/03/2007 03:29AM  
+----
Newbie

Status: offline


Registered: 07/19/2006
Posts: 6
Well, it didn't work.I've rerun strace and the output is exactly the same as what is posted above, with the same two pauses in the execution.Any other ideas?
Thanks,
-Justin

 
Profile Email
 Quote
fitz
 06/03/2007 03:29AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
In that case it looks like a host networking problem, i.e. the stall is in trying to connect to a socket on 127.0.0.1 (the 'localhost'), specifically port 8677. I have no idea what might be running on that port or why it needs it, but I suspect a "% telnet localhost 8677" would similarly hang until it times out.Prior to that it appears to try to resolve some name so you might look at the /etc/resolv.conf nameserver configuration, the /etc/hosts.conf that sets the order of using the DNS or the /etc/hosts file, and /etc/hosts to make sure 127.0.0.1 is defined as the 'localhost' address.Do you get the same failure from the dev$pix test image? Are there any other network oddities on your machine?-Mike

 
Profile Email
 Quote
cptsteiny
 06/03/2007 03:29AM  
+----
Newbie

Status: offline


Registered: 07/19/2006
Posts: 6
So you are right, the "telnet localhost 8677" command did stall and timeout.I really have a limited understanding of how networking works in either IRAF and linux.What I do know is that Ubuntu comes out of the box with all ports and sockets closed. It only opens ports when applications require them and those applications are installed through the "apt-get" platform. Since IRAF is not installed through this "apt-get" platform, does this port 8677 need to be opened somehow? If so, do you know how to do that, Ubuntu does not come with a firewall manager.Also, would it help you if I sent you the contents of those configuration files?Thanks again for all of your help,
-Justin

 
Profile Email
 Quote
cptsteiny
 06/03/2007 03:29AM  
+----
Newbie

Status: offline


Registered: 07/19/2006
Posts: 6
FIXED!!!!It was a Firewall issue somehow. Now I'm not entirely sure how or what really fixed it, but here's what I did...I installed "kmyfirewall". I loaded the "Workstation Template" and added the localhost at 127.0.0.1 to the list of trusted hosts. I then ran the firewall and installed it to the runlevel directories.Now IRAF works and no longer hangs.Thanks for your help!
-Justin

 
Profile Email
 Quote
   
Content generated in: 0.33 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login