Opened 5 years ago

Last modified 5 years ago

#3056 closed defect

[CMS] cms.bin.test_server intermittently pauses for several seconds when serving static files — at Version 4

Reported by: kzar Assignee:
Priority: P4 Milestone:
Module: Sitescripts Keywords: cms
Cc: trev, Ross, sebastian, saroyanm Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

Description (last modified by kzar)


  • Latest revision of CMS (f9fd64fbc629)
  • Ubuntu Linux 15.04 running on a Thinkpad T450
  • Serving the contents of the repository with the $generic hide and block test cases.
  • Python version 2.7.9

How to reproduce

  1. Clone and cms.
  2. Apply generic hide + block diff to testpages from this code review . (Alternatively just clone from my fork on GitHub.)
  3. Edit your hosts file to point and at
  4. In the testpages directory launch the test server like ../cms/
  5. Browse to this exact URL
  6. Keep refreshing the page until the delay problem occurs.

Observed behaviour

There are seemingly random large pauses of several seconds when the server is serving static files like images and scripts. With the example above it happens more than 50% of the time for me.

Expected behaviour

The files should be consistently served quickly.


I have also noticed a very similar / the same problem with the script in the adblockpluscore repository. The script acts as web server serving the pages and static files required to run the unit tests. The cause of this issue could be related.

I'm working on a simpler example that reproduces the problem, so far I haven't managed though.

Change History (4)

comment:1 Changed 5 years ago by kzar

  • Cc saroyanm added

@saroyanm Have you observed this behaviour as well? So far me and Ross have.

comment:2 Changed 5 years ago by kzar

  • Description modified (diff)

comment:3 Changed 5 years ago by sebastian

  • Cc sebastian added; snoack removed

comment:4 Changed 5 years ago by kzar

  • Description modified (diff)
Note: See TracTickets for help on using tickets.