There are no .pyc files in Solr. It's an all-Java app, no Python.
Run 'jps' to get a list of Java processes running. Then use 'jhat' or
'jstat' to examine the program.
'netstat -an | fgrep :8983' will give you a list of all sockets in use
by Solr, both client and server.
On Tue, May 18, 2010 at 7:29 AM, Andreas Jung wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi there,
>
> trying to deploy Solr 1.4/JDK 1.6/CentOS Linux 64bit
> on a new production server.
>
> Starting Solr takes very long on this machine. In particular
> it seems to hang for a minute or two showing only this on the
> console:
>
> [...@db01 backend_buildout]$ bin/solr-instance fg
> 2010-05-18 16:22:51.507::INFO: Logging to STDERR via
> org.mortbay.log.StdErrLog
> 2010-05-18 16:22:51.585::INFO: jetty-6.1.3
>
> Using strace shows that the process since to be waiting aka hanging
> in the wait4() call below. Any idea?
>
> Andreas
>
> open("/usr/local/lib/python2.6/plat-linux2/cStringIO.py", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/local/lib/python2.6/plat-linux2/cStringIO.pyc", O_RDONLY) =
> - -1 ENOENT (No such file or directory)
> stat("/usr/local/lib/python2.6/lib-tk/cStringIO", 0x7fff292873f0) = -1
> ENOENT (No such file or directory)
> open("/usr/local/lib/python2.6/lib-tk/cStringIO.so", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/local/lib/python2.6/lib-tk/cStringIOmodule.so", O_RDONLY) =
> - -1 ENOENT (No such file or directory)
> open("/usr/local/lib/python2.6/lib-tk/cStringIO.py", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/local/lib/python2.6/lib-tk/cStringIO.pyc", O_RDONLY) = -1
> ENOENT (No such file or directory)
> stat("/usr/local/lib/python2.6/lib-old/cStringIO", 0x7fff292873f0) = -1
> ENOENT (No such file or directory)
> open("/usr/local/lib/python2.6/lib-old/cStringIO.so", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/local/lib/python2.6/lib-old/cStringIOmodule.so", O_RDONLY) =
> - -1 ENOENT (No such file or directory)
> open("/usr/local/lib/python2.6/lib-old/cStringIO.py", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/local/lib/python2.6/lib-old/cStringIO.pyc", O_RDONLY) = -1
> ENOENT (No such file or directory)
> stat("/usr/local/lib/python2.6/lib-dynload/cStringIO", 0x7fff292873f0) =
> - -1 ENOENT (No such file or directory)
> open("/usr/local/lib/python2.6/lib-dynload/cStringIO.so", O_RDONLY) = 5
> fstat(5, {st_mode=S_IFREG|0755, st_size=50484, ...}) = 0
> open("/usr/local/lib/python2.6/lib-dynload/cStringIO.so", O_RDONLY) = 6
> read(6,
> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\31\0\0\0\0\0\0"...,
> 832) = 832
> fstat(6, {st_mode=S_IFREG|0755, st_size=50484, ...}) = 0
> mmap(NULL, 2114584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 6,
> 0) = 0x2acde2995000
> mprotect(0x2acde2999000, 2093056, PROT_NONE) = 0
> mmap(0x2acde2b98000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 6, 0x3000) = 0x2acde2b98000
> close(6) = 0
> close(5) = 0
> close(4) = 0
> getrlimit(RLIMIT_NOFILE, {rlim_cur=1, rlim_max=1}) = 0
> close(3) = 0
> pipe([3, 4]) = 0
> fcntl(4, F_GETFD) = 0
> fcntl(4, F_SETFD, FD_CLOEXEC) = 0
> clone(child_stack=0,
> flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,
> child_tidptr=0x2acdde8a9a50) = 21603
> close(4) = 0
> mmap(NULL, 1052672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x2acde2b9a000
> read(3, "", 1048576) = 0
> mremap(0x2acde2b9a000, 1052672, 4096, MREMAP_MAYMOVE) = 0x2acde2b9a000
> close(3) = 0
> munmap(0x2acde2b9a000, 4096) = 0
> wait4(21603, 0x7fff2928f6f4, WNOHANG, NULL) = 0
> wait4(21603, 2010-05-18 16:21:04.731::INFO:
>
> Logging to STDERR via org.mortbay.log.StdErrLog
> 2010-05-18 16:21:04.811::INFO: jetty-6.1.3
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkvypD8ACgkQCJIWIbr9KYz5BwCfSUgefA5fWco2grsIC4nE+4O9
> neYAoJpx5J/s6wu89CG5TdKYCZqts4u1
> =IXgz
> -END PGP SIGNATURE-
>
--
Lance Norskog
goks...@gmail.com