Jump to content

KluthR

Community Developer
  • Posts

    702
  • Joined

  • Last visited

  • Days Won

    5

Report Comments posted by KluthR

  1. Indeed. Ignored that. I still remember that @CiscoCoreX mentioned clearly a normal operation after downgrading.

     

    To clarify all currently affected users should make tests (which is not doable on prod).

     

    I still making some tests with @CiscoCoreX in background. Maybe we just observe the  behavior for now. But it seemed weird that users explicitly reported this after .4. As I understood, the exec‘s were executed several times below .4 as well, right? 🤔

    • Like 1
  2. 14 minutes ago, ljm42 said:

    Not sure why they are so slow (maybe they are slow flash drives?)

    But its only happening since .4

     

    14 minutes ago, ljm42 said:

    as long as the webgui limits writes to the flash drive it sounds like the slowness doesn't cause noticeable issues.

    Indeed! I agree but now we know there is something. And it doenst feel 100% right because there is nothing obvious which could caused it.

     

    The initial issue could be closed, yes, but myself is interested whats the root cause. But those IO things are out of my knowledge if dmesg is not giving any obvious informations.

  3. 15 minutes ago, ljm42 said:

    But the kernel version is not what fixed the issue when downgrading. It is that the older release didn't have this webgui code:

    The main reason is slow flash drive writes on .4+ which get back to normal at .3. Not any webgui issue at all.

     

    @CiscoCoreX correct me if Iam wrong but the „echo 1 > /boot/test“ command delays on .4 onwards and is immediately done for .3?

     

    correct me if Iam wrong, but the root cause is not fixed at all. The webgui introduced a workaround now which is perfectly fine.

  4. I let @CiscoCoreX do several „echo 1 > /boot/test.xml“ which delayed up to 6 seconds. (Btw, could you test „echo 1 > /mnt/user/someshare/test.txt“ with started array and real share name?)

     

    downgrading fixes all delays.

     

    The issue seems to be Linux related. At least nothing to do with webgui.

     

    anyway, Iam out now. The slowlog brought a new finding which was my only idea 😂

     

    Maybe LimeTech can share some thoughts on this.

    • Like 1
  5. I just checked - the rc.docker command has this sed in it as well. Those write back to USB Boot drive. This is what me brings me back to bonie's suggestion to check the Boot-Drive. The sed would be extremely slow, when writes to the USB drive would be slow (a failing device maybe?). But ANY write would be slow then.

     

    Maybe a performance check with CrystalDiskMark would expose issues writing to the USB key.

     

    Iam very curious if this could be the root cause for all affected users.

  6. 17 hours ago, bonienl said:

    Ps. The file "php.slow.log" shows the dashboard page loading takes a long time (duh) without further details.

    And why dont we dig deeper there? There are further details.

     

    I checked the eval'd code. The affected page is DashStats and line 53 is the docker status exec.

    I asked him to execute the rc.docker status command and this command takes ~20 secs to complete, so here we have our issue at least for him.

     

    The question is: Is this the same cause for all others? And if yes, what is taking so long time inside the rc.d script for some users.

     

    For others having the issue, I would ask them to execute the command "/etc/rc.d/rc.docker status" in a terminal and observe, how many seconds it need to generate output.

     

    That are my findings. Correct me if anything looks wrong. :)

    • Upvote 1
  7. Please test the following to see what is being executed while the delay happens:

     

    1. Open /etc/php-fpm.d/www.conf
    2. Uncomment ";slowlog ="
    3. Adapt the same line to "slowlog = /var/log/php.slow.log"
    4. Uncomment ";request_slowlog_timeout = 0"
    5. Change the same line to "request_slowlog_timeout = 10"

     

    Open a terminal (SSH) and type in "/etc/rc.d/rc.php-fpm restart"

     

    Try to reproduce the delay. After this, Upload the file at /var/log/php.slow.log here. Then please add a semicolon (;) to BOTH changed lines again and restart PHP-FPM again.

     

    This will show us a trace on the portion of code, which lasts longer than 10 seconds.

     

    Offtopic: The Pool Config could get updated to latest package templates - inside of the current one there still PHP5 metioned. The nginx socket paths could get updated too..

    • Like 1
  8. Never had issues with the "original" br0 macvlan, but looking at the technical details: The new macvtap method seems nice and could be the new default, if I understand things correctly. Even if the kernel bug gets addressed, the macvtap on ethX seems a better default. Correct me if misunderstood something.

    • Like 2
×
×
  • Create New...