Hey All, I am getting an issue with WireShark crashing after around 50 minutes of caputring. I read some posts saying this was down to a memory issue but I have monitored the server and although memory consumption by wireshark reachs a few GB it nevers maxes out the available memory. I even tried having it split the captures into 10mb files and it still crashes around 50 minutes. Anyone have any ideas what could be causing this issue? I am monitring a HP Teamed Network, the server in question is a HP DL360 G7 and running windows 2008R2 SP1
asked 26 Apr '13, 09:14 Steven576 edited 26 Apr '13, 19:12 Guy Harris ♦♦ |
2 Answers:
If you are running 32 bit Wireshark, then like all 32 bit Windows programs it will be limited to the amount of memory it can use, even on a 64 bit OS. The executable is large memory aware, so on a properly configured 32 bit OS (using the /3GB boot flag) it may use up to 3GB, otherwise only 2GB. On a 64 bit OS it may use up to 4GB. The 64 bit version of Wireshark may use up to 8TB. As Jasper says, when large amounts of traffic are involved dumpcap should be used with multiple files (-b option). This is because Wireshark (and tshark) accumulate state information about conversations that cause them to run out of memory. See this KB article for more info on process memory space. answered 26 Apr '13, 09:38 grahamb ♦ edited 26 Apr '13, 19:14 Guy Harris ♦♦ |
Yes, it looks like you encounter the Out-of-memory problem, see this Wiki page: http://wiki.wireshark.org/KnownBugs/OutOfMemory. Keep in mind that this problem cannot simply be fought by putting more memory in the PC - Wireshark will still into trouble. The only way to get around it is by not having Wireshark build up data structures of packets. Try capturing using the command line tool dumpcap instead, you can find it in the Wireshark directory. "dumpcap -d" will give you a list of interfaces, "dumpcap -i INTERFACENO" will capture on that interface. answered 26 Apr '13, 09:22 Jasper ♦♦ edited 26 Apr '13, 09:32 |
I have also tried running it on a different server and still experience the same issue.