Damn.
Forgot to say that this is for 10,000 zero length files created using a
script running touch so they are all owned by the one user.
There are also about 20 non-zero length files in the dir.
cheers,
Rob
On 14 March 2013 17:36, Robert Wells <robwell...@gmail.com> wrote:
> Ok. Output from truss -cp nnnn
>
> syscall seconds calls errors
> _exit .000 1
> read .000 7
> write .005 50
> close .000 16 6
> time .002 94
> brk .013 534
> getpid .000 5
> getuid .000 2
> alarm .001 74
> dup .000 2
> ioctl .000 1
> fcntl .001 47
> fcntl .000 4
> fcntl .000 4
> openat .000 1
> sigaction .000 7
> fpathconf .000 1
> setegid .000 4
> seteuid .000 4
> lwp_sigmask .000 4
> llseek .001 52
> pollsys .001 42
> getdents64 .007 61
> stat64 .741 20098 10048
> lstat64 .753 20090
> fstat64 .000 1
> so_socket .000 1
> bind .000 1
> connect .000 1
> shutdown .000 1
> getpeername .000 2
> getsockname .000 3
> setsockopt .000 5
> -------- ------ ----
> sys totals: 1.532 41220 10054
> usr time: 38.080
> elapsed: 58.870
>
> And output of proftpd -VV:
>
> Compile-time Settings:
> Version: 1.3.3g (maint)
> Platform: SOLARIS2 (SOLARIS2_8) [unavailable]
> Built: Wed Nov 16 2011 14:01:17 GMT
> Built With:
> configure '--prefix=/usr/local/proftpd'
> '--localstatedir=/var/proftpd' '--enable-buffer-size=8192'
> '--sysconfdir=/etc/proftpd.d' '--enable-ctrls' '--enable-sendfile'
> '--disable-ncurses' '--disable-curses' '--disable-ipv6' '--enable-openssl'
> '--with-modules=mod_load' '--enable-dso'
> '--with-shared=mod_ban:mod_ifsession:mod_ctrls_admin:mod_unique_id'
> 'CC=/tool/sunforte7/SUNWspro/bin/cc' 'CFLAGS=-xparallel -xalias_level=basic
> -xtarget=ultra2 -xarch=v8plus -xbuiltin=0x1.0d94000000000p-1022ll -xdepend
> -xmemalign=8s -xO3 -xprefetch=auto,explicit -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64
> -I/home/system/logs/internet/install/kits/openssl/openssl-0.9.8n-sparc/usr/local/ssl/include'
> 'LDFLAGS=-xparallel -xalias_level=basic -xtarget=ultra2 -xarch=v8plus
> -xbuiltin=0x1.0d95efefb03ecp-1022ll -xdepend -xmemalign=8s -xO3
> -xprefetch=auto,explicit
> -L/home/system/logs/internet/install/kits/openssl/openssl-0.9.8n-sparc/usr/local/lib'
>
> CFLAGS: -xparallel -xalias_level=basic -xtarget=ultra2 -xarch=v8plus
> -xbuiltin=0x1.0d94000000000p-1022ll -xdepend -xmemalign=8s -xO3
> -xprefetch=auto,explicit -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> -I/home/system/logs/internet/install/kits/openssl/openssl-0.9.8n-sparc/usr/local/ssl/include
> LDFLAGS: -L$(top_srcdir)/lib -xparallel -xalias_level=basic
> -xtarget=ultra2 -xarch=v8plus -xbuiltin=0x1.0d94000000000p-1022ll -xdepend
> -xmemalign=8s -xO3 -xprefetch=auto,explicit
> -L/home/system/logs/internet/install/kits/openssl/openssl-0.9.8n-sparc/usr/local/lib
> LIBS: -lssl -lcrypto -lpam -lsupp -lsocket -lnsl -lresolv -ldl
>
> Files:
> Configuration File:
> /etc/proftpd.d/proftpd.conf
> Pid File:
> /var/proftpd/proftpd.pid
> Scoreboard File:
> /var/proftpd/proftpd.scoreboard
> Header Directory:
> /usr/local/proftpd/include/proftpd
> Shared Module Directory:
> /usr/local/proftpd/libexec
>
> Features:
> - Autoshadow support
> + Controls support
> - curses support
> - Developer support
> + DSO support
> - IPv6 support
> + Largefile support
> - Lastlog support
> - ncurses support
> - NLS support
> + OpenSSL support
> - POSIX ACL support
> + Shadow file support
> - Sendfile support
> + Trace support
>
> Tunable Options:
> PR_TUNABLE_BUFFER_SIZE = 8192
> PR_TUNABLE_DEFAULT_RCVBUFSZ = 8192
> PR_TUNABLE_DEFAULT_SNDBUFSZ = 8192
> PR_TUNABLE_GLOBBING_MAX_MATCHES = 100000
> PR_TUNABLE_GLOBBING_MAX_RECURSION = 8
> PR_TUNABLE_HASH_TABLE_SIZE = 40
> PR_TUNABLE_NEW_POOL_SIZE = 512
> PR_TUNABLE_SCOREBOARD_BUFFER_SIZE = 80
> PR_TUNABLE_SCOREBOARD_SCRUB_TIMER = 30
> PR_TUNABLE_SELECT_TIMEOUT = 30
> PR_TUNABLE_TIMEOUTIDENT = 10
> PR_TUNABLE_TIMEOUTIDLE = 600
> PR_TUNABLE_TIMEOUTLINGER = 30
> PR_TUNABLE_TIMEOUTLOGIN = 300
> PR_TUNABLE_TIMEOUTNOXFER = 300
> PR_TUNABLE_TIMEOUTSTALLED = 3600
> PR_TUNABLE_XFER_SCOREBOARD_UPDATES = 10
>
> HTH.
>
> On 14 March 2013 17:05, Robert Wells <robwell...@gmail.com> wrote:
> > Will do.
> >
> > For the time being we are working with a conservative client and so we
> > are stuck at v1.3.3g for the time being.
> >
> > cheers,
> > Rob
> >
> > On 14 March 2013 17:03, TJ Saunders <t...@castaglia.org> wrote:
> >>
> >>> Thanks for this, it is similar, but our issue is that the underlying
> >>> stat calls are taking so long that the data connection that has been
> >>> opened is hitting the expiry of the timeout_stalled timer.
> >>
> >> Could you provide syscall data (strace, ktrace, etc) of the issue you're
> >> seeing -- using proftpd-1.3.5rc2, preferably -- so that we can see the
> >> same data as you?
> >>
> >>> Ascii conversion will help to some extent, but we have so many files
> >>> that doing all those stats is what is killing us.
> >>
> >> You might also look into using:
> >>
> >> https://github.com/Castaglia/proftpd-mod_statcache
> >>
> >> which caches stat(2) lookups.
> >>
> >> Cheers,
> >> TJ
> >>
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >>
> >> But let there be spaces in your togetherness.
> >>
> >> -Kahlil Gibran
> >>
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
ProFTPD Developers List
<proftpd-de...@proftpd.org>
https://lists.sourceforge.net/lists/listinfo/proftp-devel