Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have solaris system that installed 12 GB RAM. All running process consume about %65 memory. I start to application that tshark (wireshark command line alternative). Tshark complete parse a file(really small one) about 5-6 seconds. Re-execute again tshark, completed less than 1 second. If I wait a couple of minutes, process complete time is increased to 5-6 seconds. I run tshark with using truss, results said that brk() operation (brk is totally about memory allocation) is cause this delay. I want to response tshark operation is less than 1 seconds that similar to repeatedly executions. How can we do this? What is wrong with memory allocation at solaris?

uname -a SunOS test_machine 5.10 Generic_147441-01 i86pc i386 i86pc

share|improve this question
How long is the brk operation taking? More than a second? Can you paste the truss output around the brk operation? – David Schwartz Apr 4 '13 at 8:18
You can compare slow and fast execution truss output from link – Erdinç Taşkın Apr 4 '13 at 8:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.