Sugree

Main menu

  • About
    • Self
  • Project
    • GT200
    • GeoPin
    • Mitter
    • Red Mob
    • Thairath Breaking News
    • jibjib
    • microblog-purple
    • English
    • Thai

A known problem in pcre and preg_match()

Submitted by sugree on Fri, 06/26/2009 - 10:10
  • Drupal
  • PHP
  • Thai

เจอปัญหาแปลกๆ apache2 ตายแบบมีข้อกังขา ไม่ถึงกับถี่ แต่ก็ไม่ควรเกิด

[Sun May 31 06:01:44 2009] [notice] child pid 19028 exit signal Segmentation fault (11)

หลังจากที่บังคับพ่น core แล้วใช้ gdb ไล่จิก ก็พบความลับสวรรค์

มีคนเจอแล้ว 45735 นานแล้วด้วย จอดสนิทที่ pcre_dfa_exec() หลังจากที่โดนเรียกตัวเองมาแล้วมากกว่า 8000 ครั้ง ทางแก้ง่ายๆ คืออย่าให้มันไปไกลเกินไป แต่ข้อเสียที่ตามมาก็มากเหมือนกัน "ความว่างเปล่า" ซึ่งหลายคนเห็น เช่น @markpeak @phisite @suksit

ตอนนี้ปรับค่าขึ้นมาเป็น 50000 รอดูอาการต่อไป

Roti (alpha) thinks you may like these:
  • A known problem in pcre and preg_match()
  • Stack overflow confirmed
  • A Bug a Day
  • a year and a day
  • a room with a view
by onequad (not verified) on Fri, 06/26/2009 - 21:27 #995

โอ้้้ เคยเป็นเหมือนกันครับ อยู่ดีๆ apache ก็ตาย

  • reply

Post new comment

The content of this field is kept private and will not be shown publicly.
Input format
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockcode> <pre>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <html>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <html>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • You can use Markdown syntax to format and style the text. Also see and Markdown Extra for tables, footnotes, and more.
  • Twitter-style @usersnames are linked to their Twitter account pages.
  • Twitter-style #hashtags are linked to search.twitter.com.

More information about formatting options

Popular Tags

Android BarCamp BarCampBangkok BarCampBangkok2 Book Django Drupal Education Family Google Hardware Hardy Health Interview Java jibjib Joke Life microblog-purple OpenOffice.org OpenSource Podcast Python Review SoC Social Network Trip Twitter Ubuntu Weekly Suki
more tags

Powered By

debian
apache
drupal
drupal.in.th
openfreehost
inox
feedburner

© 2007-2008 Sugree Phatanapherom. Creative Commons [Feed Content / Comment]
RoopleTheme