Slow while running a command for the first time

I am facing a performance problem on a Solaris 10 Sparc V890 server, it is an old one I know. The first time we realized there is a problem with the server, is the time when ftp transfers are made. There were 4 other identical servers doing much better. Network drivers are checked and there isn't any problem with them. :frowning:

The server is rebooted 3-4 times for various reasons. After each time, the commands running for first time keep me waiting for 15-20 seconds. As a result, this made me suspicious of cache parameters. Is there any suggestions? :confused:

Run your ftpd in verbose debug mode and look at the messages in the syslog file.

Transferred a 6Gb file and turned on debugging on transfer. It didn't say anything about what is doing with the system, cannot use truss with ftp as far as I know. I don't know if syslog is enabled for debugging.

Is there any idea about the waiting time for first runned commands? Is that normal?

Edit. I see your point. To run ftp on Solaris 10, no scripts are used just svcadm does the job for me; it is unlikely to change I guess.

Are ftp transfers the only performance problem? If so, where's the problem? Is it in the rate of transfer? Is it in the time it takes to connect?

Why do you say you can't use truss with ftp?

FWIW, if the problem is how long it takes to connect, the server is probably doing a reverse DNS lookup on the incoming IP address and having problems resolving the IP.