Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    #### phpsession_begin #### ??

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 207 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JonathanLeeJ
      JonathanLee
      last edited by

      Does anyone know what causes this? This is the first time I have seen logs like this ever. I did enable SWAP on a USB drive is that related?

      )
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/squid_monitor_data.php:24
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/guiconfig.inc:62
      May 9 15:41:43	php-fpm	12236	getAllowedPages(..) - /etc/inc/authgui.inc:49
      May 9 15:41:43	php-fpm	12236	phpsession_end(..) - /etc/inc/priv.inc:303
      May 9 15:41:43	php-fpm	12236	simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:55
      May 9 15:41:43	php-fpm	12236	[6] => #### phpsession_end ####
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/squid_monitor_data.php:24
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/guiconfig.inc:62
      May 9 15:41:43	php-fpm	12236	getAllowedPages(..) - /etc/inc/authgui.inc:49
      May 9 15:41:43	php-fpm	12236	phpsession_begin(..) - /etc/inc/priv.inc:240
      May 9 15:41:43	php-fpm	12236	simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:39
      May 9 15:41:43	php-fpm	12236	[5] => #### phpsession_begin ####
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/squid_monitor_data.php:24
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/guiconfig.inc:62
      May 9 15:41:43	php-fpm	12236	phpsession_begin(..) - /etc/inc/authgui.inc:42
      May 9 15:41:43	php-fpm	12236	simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:39
      May 9 15:41:43	php-fpm	12236	[4] => #### phpsession_begin ####
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/squid_monitor_data.php:24
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/guiconfig.inc:62
      May 9 15:41:43	php-fpm	12236	session_auth(..) - /etc/inc/authgui.inc:37
      May 9 15:41:43	php-fpm	12236	phpsession_end(..) - /etc/inc/auth.inc:2277
      May 9 15:41:43	php-fpm	12236	simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:55
      May 9 15:41:43	php-fpm	12236	[3] => #### phpsession_end ####
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/squid_monitor_data.php:24
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/guiconfig.inc:62
      May 9 15:41:43	php-fpm	12236	session_auth(..) - /etc/inc/authgui.inc:37
      May 9 15:41:43	php-fpm	12236	phpsession_begin(..) - /etc/inc/auth.inc:2143
      May 9 15:41:43	php-fpm	12236	simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:39
      May 9 15:41:43	php-fpm	12236	[2] => #### phpsession_begin ####
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/squid_monitor_data.php:24
      May 9 15:41:43	php-fpm	12236	phpsession_end(..) - /usr/local/www/guiconfig.inc:50
      May 9 15:41:43	php-fpm	12236	simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:55
      May 9 15:41:43	php-fpm	12236	[1] => #### phpsession_end ####
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/squid_monitor_data.php:24
      May 9 15:41:43	php-fpm	12236	require_once(..) - /usr/local/www/guiconfig.inc:48
      May 9 15:41:43	php-fpm	12236	csrf_check(..) - /usr/local/www/csrf/csrf-magic.php:413
      May 9 15:41:43	php-fpm	12236	csrf_start(..) - /usr/local/www/csrf/csrf-magic.php:192
      May 9 15:41:43	php-fpm	12236	phpsession_begin(..) - /usr/local/www/csrf/csrf-magic.php:361
      May 9 15:41:43	php-fpm	12236	simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:39
      May 9 15:41:43	php-fpm	12236	[0] => #### phpsession_begin ####
      May 9 15:41:43	php-fpm	12236	(
      May 9 15:41:43	php-fpm	12236	PHPSESSION 1 open sessions left at shutdown script!Array
      May 9 15:41:42	php-fpm	424	/index.php: User logged out for user 'admin' from: 192.168.1.5 (Local Database)
      

      Make sure to upvote

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @JonathanLee
        last edited by Gertjan

        @JonathanLee said in #### phpsession_begin #### ??:

        Does anyone know what causes this?

        Easy.
        I put my bets on : it's squid bug - so not a general pfSEnse question but more something for here.
        Remove squid, and retry.
        If things are better now, wait for squid to be repaired before re installing.

        @JonathanLee said in #### phpsession_begin #### ??:

        I did enable SWAP on a USB drive is that related?

        SWAP is used to park a crashed kernel, the so called core dump, if that happens. Never saw this myself during the last 10 years or so, but others see it all the time ....
        SWAP is also used for ... well, swapping memory, and that is part of what is known as virtual memory. The access to the swap should be as fast as possible. Certainly not on an USB drive .... As soon as pfSense has to swap, your system will become useless (?), at best.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Mmm, that looks like a php error report. I'm not sure why it ended up in a log rather than an alert though.

          Looking at what it's doing there I'd guess you maybe had the Squid real-time page displayed when the login expired.

          JonathanLeeJ 1 Reply Last reply Reply Quote 0
          • JonathanLeeJ
            JonathanLee @stephenw10
            last edited by JonathanLee

            @stephenw10 It was an antivirus page I left up that Squid stopped your right. Thanks I never reset the firewall when that was open.

            The "Squid stopped a virus page"

            Make sure to upvote

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.