[ns] large trace file size>2G
Song Luo
sluons at gmail.com
Tue Apr 1 08:42:54 PDT 2008
It's not a bug of ns2, it's a limit set by your operating system. you have
to enable large file support option, and then compile the kernal again. do a
google search you will find many articles on it.
2008/3/25 Zhao Junmin <zhaojunm at gmail.com>:
>
> when I run a simulation which last 1000s, It produces a big trace file
> whose size is larger than 2G. But In linux,NS can't write >2G trace
> file,so it exits abnormally. I search for some articles,which say a
> >2G file must be open with a O_LARGEFILE flag set in linux.
> here Is it a bug in NS?
> How can I resolve the problem better?
> any suggestion for me and I am very grateful!
> Thanks!
>
>
--
Song Luo
Intelligent Automation, Inc.
----
My ns blog:
http://ns-3.blogspot.com
More information about the Ns-users
mailing list