This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » eZ Publish 5 Platform » eZFind in eZPublish5

eZFind in eZPublish5

eZFind in eZPublish5

Wednesday 12 September 2012 11:37:00 pm - 1 reply

I was wondering if there was a suggested configuration in use cases for such as local dev machines (laptops/desktops) when running eZFind? The reason I ask is that I think I was running into APC issues with its cache size. Mine was set to 64M so I raised it way up to 1G, for testing, and stopped receiving memory limit issues.

So I was also wondering if anyone else has run into this issue and if they have a some good advice on what settings are ok for dev/prod while moving forward with ezpublish 5.

I'm using a basic startup command for eZFind:

java -Xms150m -Xmx150m -XX:+UseParallelGC -XX:+AggressiveOpts -XX:NewRatio=5 -jar start.jar


memory_limit 512M  (too much?)





Thursday 13 September 2012 10:53:20 am

apc and ezfind are orthogonal topics, not sure why you put them together - the only thing they have in common is that, if run on the same server, they all use the same total ram

apc: ususally 128mb is enough - it depends on how many templates you have on your site (also this is shared across all php apps: do you only have 1 eZP install there or other stuff?

ezfind memory: this is roughly proportional to number of indexed objects. Not sure how you can check if the sizing you use corresponds to your db, maybe some solr guru can chime in...

memory_limit for php: setting it very high does not mean that php processes will use that much memory and keep it allocated. Every php script only uses as much ram as it needs. The only caveat is that apache never deallocates memory, so if a php web pages uses 512mb ram, until the apache process which has served it is recycled, it will keep 512mb in use. It is thus a good idea to set MaxConnectionsPerRequest; this is generally don one prod servers, not dev machines though


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from