Thanks.. I figured it couldn't be that bad.... as the server eventually
starts.

Thanks for the info.. I can help doing a profile or with any other
mechanism if it helps troubleshoot the slow start. Glad to help!

Best Regards,
Diego



On Wed, Jul 19, 2017 at 7:21 PM, Louis Munro <lmu...@inverse.ca> wrote:

>
>
> On Jul 19, 2017, at 18:16, Diego Garcia del Rio <garc...@gmail.com> wrote:
>
> no. In my case its a single node setup. I was doing an strace on the httpd
> process and was seeing a LOT of missing files  being referenced.
>
> for example:
>
> stat("/usr/local/fingerbank/lib/pf/services/manager/httpd_collector.pmc",
> 0x7fffb60ccab0) = -1 ENOENT (No such file or directory)
> stat("/usr/local/fingerbank/lib/pf/services/manager/httpd_collector.pm",
> 0x7fffb60cc9f0) = -1 ENOENT (No such file or directory)
> stat("/usr/local/pf/html/captive-portal/lib/pf/services/manager/httpd_collector.pmc",
> 0x7fffb60ccab0) = -1 ENOENT (No such file or directory)
> stat("/usr/local/pf/html/captive-portal/lib/pf/services/manager/httpd_
> collector.pm", 0x7fffb60cc9f0) = -1 ENOENT (No such file or directory)
> stat("/usr/local/pf/lib/pf/services/manager/httpd_collector.pmc",
> 0x7fffb60ccab0) = -1 ENOENT (No such file or directory)
> stat("/usr/local/pf/lib/pf/services/manager/httpd_collector.pm",
> {st_mode=S_IFREG|0644, st_size=1977, ...}) = 0
> open("/usr/local/pf/lib/pf/services/manager/httpd_collector.pm",
> O_RDONLY) = 7
> ioctl(7, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS,
> 0x7fffb60cc7a0) = -1 ENOTTY (Inappropriate ioctl for device)
> lseek(7, 0, SEEK_CUR)                   = 0
> read(7, "package pf::services::manager::h"..., 8192) = 1977
>
>
>
> im not running on a super powerful server... but still, its a 4-core VM
> with 8GB of ram and an SSD... so not too horrible
>
> I could eventually do a full strace if needed.
>
>
>
> Those are not missing files.
> That's the way perl searches for a module through @INC.
> It tries each directory in the array until it either succeeds or runs out
> of directories to try.
> You'll see this behaviour for other things too, such as linking libraries.
>
> Still, good catch on the incorrect StartLimitInterval.
> I will fix that for the next release.
>
>
>
> Regards,
> --
> Louis Munro
> lmu...@inverse.ca  ::  www.inverse.ca
> +1.514.447.4918 x125  :: +1 (866) 353-6153 x125
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (
> www.packetfence.org)
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to