I am using mongodb 2.0 for my development environemnt . i am starting mongodb with the following below configuration through a config file .
replSet = ubsc
fork = true
port = 27017
dbpath = /data/mongodb
logpath = /data/mongodb/mongodb.log
rest = true
smallfiles = true
My question is that even though i am setting the option of generating smallfiles for the journaling through setting (smallfiles = true ) in my config file .
I accessed the application only for 5 minutes , (5-10 minutes ) , the file inside the journal folder has grown to a huge size
[mark_user@ubsdvf.oitreo.com journal]$ ls -lrt
total 393632
-rw------- 1 s606970 s606970 134217728 Oct 21 07:41 prealloc.1
-rw------- 1 s606970 s606970 134217728 Oct 21 07:46 prealloc.2
-rw------- 1 s606970 s606970 88 Oct 21 08:42 lsn
-rw------- 1 s606970 s606970 134217728 Oct 21 08:42 j._0
Please let me know why the file has grown to a huge size ??