Anyone tried using a symfony website with the files stored on a NFS server?
I tried, and some of my busy websites are really, really slow, server load goes
to 50 or more.
I tried to look at what the webserver does when serving a symfony website, and
it didn't look well.
For example, it tries to stat, or access many non-existing paths in the plugins
directory, i.e.:
24179 15:13:39.467649
stat("/mnt/nfs/website/plugins/sfPropel15Plugin/modules/category/templates",
0x7ffff85f30f0) = -1 ENOENT (No such file or directory)
24179 15:13:39.467754
stat("/mnt/nfs/website/plugins/iwPropel15Plugin/modules/category/templates",
0x7ffff85f30f0) = -1 ENOENT (No such file or directory)
24179 15:13:39.467857
stat("/mnt/nfs/website/plugins/sfGuardPlugin/modules/category/templates",
0x7ffff85f30f0) = -1 ENOENT (No such file or directory)
24179 15:13:39.467953
stat("/mnt/nfs/website/plugins/iwUserPlugin/modules/category/templates",
0x7ffff85f30f0) = -1 ENOENT (No such file or directory)
24179 15:13:39.468088
stat("/mnt/nfs/website/plugins/iwUserFacebookPlugin/modules/category/templates",
0x7ffff85f30f0) = -1 ENOENT (No such file or directory)
As I counted, it tries to stat/access more than 2500 such non-existing paths.
Each such access is a NFS lookup (packets sent to the NFS server), so probably
it contributes a lot to why a (busy) symfony website is so slow with NFS.
Does anyone have some good experiences with Symfony, NFS and busy websites?
If not, maybe there is some way to reduce these lookups for non-existing
directories?
--
Tomasz Chmielewski
http://wpkg.org
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en