Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Javahl behaves differently on Solaris x86 and sparc

subversion
Discussion topic

Back to topic list

Javahl behaves differently on Solaris x86 and sparc

Author ahiro
Full name Igor Galic
Date 2009-04-16 02:02:12 PDT
Message Hi folks, I've been trying to get FishEye[1] to run on an x86 box, because we've been experiencing performance bottlenecks in response times. I've compiled subversion 1.5.6 on both platforms against the same version of Sun Coolstack 1.3.1 with the same version of Sun Studio 12 (I can provide config.nice if needed). This is what happens when I start fisheye on x86 (with truss): INFO - starting initial scan of repository bw 10594/42: write(1, " I N F O - s t a r".., 54) = 54 10594/42: write(7, " 2 0 0 9 - 0 4 - 1 5 0".., 135) = 135 10594/42: lwp_cond_signal(0x098FCA30) = 0 10594/40: lwp_cond_wait(0x098FCA30, 0x098FCA18, 0x00000000, 0) = 0 10594/42: open64("/etc/subversion/servers", O_RDONLY|O_LARGEFILE) Err#2 ENOENT 10594/42: getuid() = 6109 [6109] 10594/42: getuid() = 6109 [6109] 10594/42: getgid() = 14 [14] 10594/42: getgid() = 14 [14] 10594/42: open64("/var/bldserv/fisheye/.subversion/servers", O_RDONLY|O_LARGEFILE) = 22 10594/42: read(22, " # # # T h i s f i l".., 16384) = 3619 10594/42: read(22, 0x08B4BFE3, 12765) = 0 10594/42: read(22, 0x08B4B1C0, 16384) = 0 10594/42: close(22) = 0 10594/42: open64("/etc/subversion/config", O_RDONLY|O_LARGEFILE) Err#2 ENOENT 10594/42: open64("/var/bldserv/fisheye/.subversion/config", O_RDONLY|O_LARGEFILE) = 22 10594/42: read(22, " # # # T h i s f i l".., 16384) = 5786 10594/42: read(22, 0x08B4C85A, 10598) = 0 10594/42: read(22, 0x08B4B1C0, 16384) = 0 10594/42: close(22) = 0 10594/42: lstat64("/var/bldserv/svn/repos/bw/format", 0x6CF3A914) = 0 10594/42: stat64("/var/bldserv/svn/repos/bw/db", 0x6CF3A914) = 0 10594/42: open64("/var/bldserv/svn/repos/bw/format", O_RDONLY|O_LARGEFILE) = 22 10594/42: read(22, " 5\n", 80) = 2 10594/42: close(22) = 0 10594/42: open64("/var/bldserv/svn/repos/bw/db/fs-type", O_RDONLY|O_LARGEFILE) = 22 10594/42: read(22, " f s f s\n", 4096) = 5 10594/42: close(22) = 0 10594/42: open64("/var/bldserv/svn/repos/bw/db/fs-type", O_RDONLY|O_LARGEFILE) = 22 10594/42: read(22, " f s f s\n", 4096) = 5 10594/42: close(22) = 0 10594/42: open64("/var/bldserv/svn/repos/bw/db/format", O_RDONLY|O_LARGEFILE) = 22 10594/42: read(22, " 3\n l a y o u t s h a".., 4096) = 22 10594/42: read(22, 0x090A0C60, 4096) = 0 10594/42: close(22) = 0 10594/42: open64("/var/bldserv/svn/repos/bw/db/uuid", O_RDONLY|O_LARGEFILE) = 22 10594/42: read(22, " 0 7 f 3 4 a c 0 - c d 5".., 4096) = 37 10594/42: close(22) = 0 10594/42: lwp_cond_signal(0x098FCA30) = 0 10594/40: lwp_cond_wait(0x098FCA30, 0x098FCA18, 0x6CFBD7A8, 0) = 0 10594/42: write(7, " 2 0 0 9 - 0 4 - 1 5 0".., 2917) = 2917 10594/42: write(10, " 2 0 0 9 - 0 4 - 1 5 0".., 2940) = 2940 ERROR - Unable to initialise repository file:///var/bldserv/svn/repos/bw/ due to com.cenqua.fisheye.config.ConfigException:Unable to g et repository information: org.tigris.subversion.javahl.ClientException: Couldn't open a repository svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///var/bldserv/svn/repos/bw' com.cenqua.fisheye.config.ConfigException: Unable to get repository information: org.tigris.subversion.javahl.ClientException: Couldn't open a repository svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///var/bldserv/svn/repos/bw' at com.cenqua.fisheye.svn.SvnRepositoryTester.checkRepoSettings(SvnRepositoryTester.java:78) at com.cenqua.fisheye.svn.SvnRepositoryScanner.checkRepoSettings(SvnRepositoryScanner.java:341) at com.cenqua.fisheye.svn.SvnRepositoryScanner.validateRepo(SvnRepositoryScanner.java:260) at com.cenqua.fisheye.rep.RepositoryScanner.startRepo(RepositoryScanner.java:316) at com.cenqua.fisheye.rep.RepositoryScanner.slurp(RepositoryScanner.java:242) at com.cenqua.fisheye.rep.RepositoryScanner.ping(RepositoryScanner.java:210) at com.cenqua.fisheye.svn.SvnRepositoryEngine.doSlurp(SvnRepositoryEngine.java:80) at com.cenqua.fisheye.rep.ping.OneOffPingRequest.doRequest(OneOffPingRequest.java:30) at com.cenqua.fisheye.rep.ping.PingRequest.process(PingRequest.java:68) at com.cenqua.fisheye.rep.RepositoryHandle.processPingRequests(RepositoryHandle.java:120) at com.cenqua.fisheye.rep.RepositoryHandle.queuePingRequest(RepositoryHandle.java:110) at com.cenqua.fisheye.rep.ping.PingRequest.run(PingRequest.java:35) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Caused by: com.cenqua.fisheye.rep.RepositoryClientException: org.tigris.subversion.javahl.ClientException: Couldn't open a repository svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///var/bldserv/svn/repos/bw' at com.cenqua.fisheye.svn.SvnThrottledClient.info2(SvnThrottledClient.java:118) at com.cenqua.fisheye.svn.SvnRepositoryTester.getServerRootURL(SvnRepositoryTester.java:91) at com.cenqua.fisheye.svn.SvnRepositoryTester.checkRepoSettings(SvnRepositoryTester.java:72) ... 14 more Caused by: org.tigris.subversion.javahl.ClientException: Couldn't open a repository svn: Unable to open an ra_local session to URL svn: Unable to open repository 'file:///var/bldserv/svn/repos/bw' at org.tigris.subversion.javahl.SVNClient.info2(Native Method) at org.tigris.subversion.javahl.SVNClient.info2(SVNClient.java:1349) at com.cenqua.fisheye.svn.SvnThrottledClient.info2(SvnThrottledClient.java:111) ... 16 more 10594/42: write(1, " E R R O R - U n a b".., 2835) = 2835 10594/42: lwp_cond_signal(0x08B9D510) = 0 Here's the same truss on Sparc: 15702/66: write(1, " I N F O - s t a r".., 54) = 54 15702/66: write(7, " 2 0 0 9 - 0 4 - 1 5 0".., 135) = 135 15702/66: lwp_cond_signal(0x024891A8) = 0 15702/66: stat64("/var/bldserv/fisheye/.subversion", 0xAB8FE748) = 0 15702/66: stat64("/var/bldserv/fisheye/.subversion/config", 0xAB8FE6A8) = 0 15702/66: stat64("/var/bldserv/fisheye/.subversion/servers", 0xAB8FE6A8) = 0 15702/66: stat64("/var/bldserv/fisheye/.subversion/README.txt", 0xAB8FE6A8) = 0 15702/66: stat64("/var/bldserv/fisheye/.subversion/config", 0xAB8FE768) = 0 15702/66: stat64("/var/bldserv/fisheye/.subversion/config", 0xAB8FE640) = 0 15702/66: access("/var/bldserv/fisheye/.subversion/config", R_OK) = 0 15702/66: open64("/var/bldserv/fisheye/.subversion/config", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE528) = 0 15702/66: read(22, " # # # T h i s f i l".., 8192) = 5786 15702/66: fstat64(22, 0xAB8FE228) = 0 15702/66: llseek(22, 0, SEEK_CUR) = 5786 15702/66: llseek(22, 0, SEEK_END) = 5786 15702/66: llseek(22, 5786, SEEK_SET) = 5786 15702/66: read(22, 0xAB8FC280, 8192) = 0 15702/66: close(22) = 0 15702/66: stat64("/var/bldserv/fisheye/.subversion/config", 0xAB8FE768) = 0 15702/66: stat64("/etc/subversion/config", 0xAB8FE768) Err#2 ENOENT 15702/66: stat64("/etc/subversion/config", 0xAB8FE640) Err#2 ENOENT 15702/66: stat64("/etc/subversion/config", 0xAB8FE768) Err#2 ENOENT 15702/66: mmap(0x00000000, 524288, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_NORESERVE|MAP_ANON, -1, 0) = 0xAB780000 15702/66: lwp_create(0xAB8FE598, LWP_DETACHED|LWP_SUSPENDED, 0xAB8FE594) = 67 15702/66: lwp_continue(67) = 0 15702/66: stat64("/var/bldserv/svn/repos/bw/format", 0xAB8FE440) = 0 15702/66: stat64("/var/bldserv/svn/repos/bw/db", 0xAB8FE440) = 0 15702/66: stat64("/var/bldserv/svn/repos/bw/db", 0xAB8FE440) = 0 15702/66: open64("/var/bldserv/svn/repos/bw/format", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE0D8) = 0 15702/66: llseek(22, 0, SEEK_SET) = 0 15702/66: read(22, " 5\n", 1024) = 2 15702/66: fcntl(14, F_DUP2FD, 0x00000016) = 22 15702/66: close(22) = 0 15702/66: open64("/var/bldserv/svn/repos/bw/db/format", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE060) = 0 15702/66: llseek(22, 0, SEEK_SET) = 0 15702/66: read(22, " 3\n l a y o u t s h a".., 1024) = 22 15702/66: llseek(22, 22, SEEK_SET) = 22 15702/66: read(22, 0x00D18000, 1024) = 0 15702/66: fcntl(14, F_DUP2FD, 0x00000016) = 22 15702/66: close(22) = 0 15702/66: open64("/var/bldserv/svn/repos/bw/db/fs-type", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE0F8) = 0 15702/66: llseek(22, 0, SEEK_SET) = 0 15702/66: read(22, " f s f s\n", 1024) = 5 15702/66: fcntl(14, F_DUP2FD, 0x00000016) = 22 15702/66: close(22) = 0 15702/66: stat64("/var/bldserv/svn/repos/bw/db/current", 0xAB8FE4F0) = 0 15702/66: access("/var/bldserv/svn/repos/bw/db/current", R_OK) = 0 15702/66: open64("/var/bldserv/svn/repos/bw/db/uuid", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE200) = 0 15702/66: llseek(22, 0, SEEK_SET) = 0 15702/66: read(22, " 0 7 f 3 4 a c 0 - c d 5".., 1024) = 37 15702/66: fcntl(14, F_DUP2FD, 0x00000016) = 22 15702/66: close(22) = 0 15702/66: open64("/var/bldserv/svn/repos/bw/db/current", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE310) = 0 15702/66: llseek(22, 0, SEEK_SET) = 0 15702/66: read(22, " 5 1 4 5 9\n", 1024) = 6 15702/66: fcntl(14, F_DUP2FD, 0x00000016) = 22 15702/66: close(22) = 0 15702/66: stat64("/var/bldserv/svn/repos/bw/format", 0xAB8FE638) = 0 15702/66: stat64("/var/bldserv/svn/repos/bw/db", 0xAB8FE638) = 0 15702/66: stat64("/var/bldserv/svn/repos/bw/db", 0xAB8FE638) = 0 15702/66: open64("/var/bldserv/svn/repos/bw/format", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE2D0) = 0 15702/66: llseek(22, 0, SEEK_SET) = 0 15702/66: read(22, " 5\n", 1024) = 2 15702/66: fcntl(14, F_DUP2FD, 0x00000016) = 22 15702/66: close(22) = 0 15702/66: open64("/var/bldserv/svn/repos/bw/db/format", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE258) = 0 15702/66: llseek(22, 0, SEEK_SET) = 0 15702/66: read(22, " 3\n l a y o u t s h a".., 1024) = 22 15702/66: llseek(22, 22, SEEK_SET) = 22 15702/66: read(22, 0x00D18000, 1024) = 0 15702/66: fcntl(14, F_DUP2FD, 0x00000016) = 22 15702/66: close(22) = 0 15702/66: open64("/var/bldserv/svn/repos/bw/db/fs-type", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE2F0) = 0 15702/66: llseek(22, 0, SEEK_SET) = 0 15702/66: read(22, " f s f s\n", 1024) = 5 15702/66: fcntl(14, F_DUP2FD, 0x00000016) = 22 15702/66: close(22) = 0 15702/66: stat64("/var/bldserv/svn/repos/bw/db/current", 0xAB8FE6E8) = 0 15702/66: access("/var/bldserv/svn/repos/bw/db/current", R_OK) = 0 15702/66: open64("/var/bldserv/svn/repos/bw/db/uuid", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE3F8) = 0 15702/66: llseek(22, 0, SEEK_SET) = 0 15702/66: read(22, " 0 7 f 3 4 a c 0 - c d 5".., 1024) = 37 15702/66: fcntl(14, F_DUP2FD, 0x00000016) = 22 15702/66: close(22) = 0 15702/66: open64("/var/bldserv/svn/repos/bw/db/current", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE3E8) = 0 15702/66: llseek(22, 0, SEEK_SET) = 0 15702/66: read(22, " 5 1 4 5 9\n", 1024) = 6 15702/66: fcntl(14, F_DUP2FD, 0x00000016) = 22 15702/66: close(22) = 0 15702/66: stat64("/var/bldserv/svn/repos/bw/db/revs/51/51459", 0xAB8FE620) = 0 15702/66: stat64("/var/bldserv/svn/repos/bw/db/revs/51/51459", 0xAB8FE598) = 0 15702/66: open64("/var/bldserv/svn/repos/bw/db/revs/51/51459", O_RDONLY) = 22 15702/66: fstat64(22, 0xAB8FE2B0) = 0 15702/66: llseek(22, 4896, SEEK_SET) = 4896 etc... I'm ready to provide any additional information needed, to assist in finding the source of this issue. Thank you in advance. So long, Igor

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

Javahl behaves differently on Solaris x86 and sparc ahiro Igor Galic 2009-04-16 02:02:12 PDT
Messages per page: