Hi Jochen,

thank you for the help!

Now, the used disk space is much more less, than without the 
smallfiles=true setting, here the actual result after a few days:

# du -hs /var/lib/mongodb/
484M    /var/lib/mongodb/

# du -hs /var/lib/elasticsearch/
12M    /var/lib/elasticsearch/

Thank you!
Klaus.

Am Donnerstag, 12. November 2015 11:53:39 UTC+1 schrieb [email protected]:
>
> Hi Jochen,
>
> thank you for your help, this is great that you give me the informations!
>
> I set *smallfiles=true* in /etc/mongod.conf and I will watch the disk 
> space usage over the next days!
>
> Thank you!
> Klaus.
>
> Am Dienstag, 10. November 2015 11:10:28 UTC+1 schrieb Jochen Schalanda:
>>
>> Hi Klaus,
>>
>> I've heard from some users that their MongoDB server is using lots of 
>> space for their journal. You might want to try to set smallfiles=true in 
>> the MongoDB configuration file (see 
>> https://docs.mongodb.org/v2.4/reference/configuration-options/#smallfiles) 
>> to reduce the amount of disk space it requires.
>>
>>
>> Cheers,
>> Jochen
>>
>> On Tuesday, 10 November 2015 11:04:31 UTC+1, [email protected] wrote:
>>>
>>> Hi Werner,
>>>
>>> I was changed my setup like follwing:
>>>
>>> My *retention strategy is now time* and the rotation is set to the 
>>> default *1d*. 
>>>
>>>    - 
>>>    
>>>    rotation_strategy = time
>>>    
>>>    - 
>>>    
>>>    elasticsearch_max_time_per_index = 1d
>>>    
>>>    - 
>>>    
>>>    elasticsearch_max_number_of_indices = 14
>>>    
>>>    
>>> So I will see, how the disk space are growing up. 
>>>
>>> BUT, we're talking about disk space usage from Elasticsearch and the 
>>> *smaller 
>>> usage of MongoDB*, compared to the Ealsticserch.
>>>
>>> *In my setup it is the other way around!*
>>>
>>> Here are my actual disk space usage:
>>>
>>> # du -hs /var/lib/elasticsearch/
>>> 15M    /var/lib/elasticsearch/
>>>
>>> # du -hs /var/lib/mongodb/
>>> 850M    /var/lib/mongodb/
>>>
>>> This is it, what I'm thinking about and what it makes so difficult to 
>>> calculate the disk space for an other bigger system.
>>>
>>>
>>> Thank you
>>> Klaus.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/d328deef-d094-4bc2-8742-fa624a5cae16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to