[dev] performance problem -> does horde use raw sockets

Michael J Rubinsky mrubinsk at horde.org
Fri Jun 12 14:07:00 UTC 2015


Quoting Sebastian Birnbach <birnbacs at gmail.com>:

> All,
>
> I have made the host's ethernet interface available inside the jail and
> checked with tcpdump if PHP secretly downloads a file as a reason for the
> 5-seconds-delay to every HTTP request. This does not seem the case, nothing
> suspicious is going on.
>
> Is it possible that horde is using raw sockets for something? A ping to
> some internet host maybe? This concerns the base system, not one of the
> applications (nag, kronolith etc), there are none installed yet.

No, the base Horde app shouldn't be pinging anything under normal use  
(assuming no external APIs such as Weather or Twitter etc...) were  
configured for use in the Portal page . The only place I can think of  
that would do any kind of request is the configuration page, which  
might be polling pear.horde.org for updated packages if requested to  
do so.

Shot in the dark, as I haven't been reading this thread fully, but  
maybe it's related to compressing javascript and not being able to  
save the compressed file (so it must spend time compressing on each  
request)? Try temporarily turning off javascript and/or css caching  
maybe?

Another thought - have you tried just requesting a basic test script  
on the server to be sure it's not some issue/latency with PHP itself?

-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/dev/attachments/20150612/6e1dc88a/attachment.bin>


More information about the dev mailing list