<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PHP Array Causing Access Violation in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624365#M39854</link>
    <description>Rob,&lt;BR /&gt;&lt;BR /&gt;the code is trying to write to virtual address ZERO, this fails with an ACCVIO.&lt;BR /&gt;&lt;BR /&gt;Try SET PROC/DUMP before running your PHP test script and then have a look at the process dump with ANAL/PROC xxx.DMP&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
    <pubDate>Tue, 27 Apr 2010 09:13:18 GMT</pubDate>
    <dc:creator>Volker Halle</dc:creator>
    <dc:date>2010-04-27T09:13:18Z</dc:date>
    <item>
      <title>PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624364#M39853</link>
      <description>&lt;!--!*#--&gt;This simple script is causing the Access Violation below :-&lt;BR /&gt;&lt;BR /&gt;$array1 = array();&lt;BR /&gt;$value1 = 1;&lt;BR /&gt;&lt;BR /&gt;for ($index = 0; $index &amp;lt; 160000; $index++) {&lt;BR /&gt;        $array1[] = $value1;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;?&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Memory Limit in PHP.INI is set to 1000M. If I set the loop count lower, it's fine.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ALPHA_RAA$$ php rob.tmp&lt;BR /&gt;Content-type: text/html&lt;BR /&gt;X-Powered-By: PHP/4.3.10&lt;BR /&gt;&lt;BR /&gt;%SYSTEM-F-ACCVIO, access violation, reason mask=04, virtual address=0000000000000000, PC=0000000000254A50, PS=0000001B&lt;BR /&gt;&lt;BR /&gt;  Improperly handled condition, image exit forced.&lt;BR /&gt;    Signal arguments:   Number = 0000000000000005&lt;BR /&gt;                        Name   = 000000000000000C&lt;BR /&gt;                                 0000000000000004&lt;BR /&gt;                                 0000000000000000&lt;BR /&gt;                                 0000000000254A50&lt;BR /&gt;                                 000000000000001B&lt;BR /&gt;&lt;BR /&gt;    Register dump:&lt;BR /&gt;    R0  = 0000000000000000  R1  = 00000000006DE000  R2  = 000000007AAD7DF0&lt;BR /&gt;    R3  = 0000000000000004  R4  = 000000007FFCF818  R5  = 000000007FFCF8B0&lt;BR /&gt;    R6  = 0000000013F2AF01  R7  = 0000000000000001  R8  = 0000000000000000&lt;BR /&gt;    R9  = 0067000000000000  R10 = 00000000009777C0  R11 = 0000000000002E08&lt;BR /&gt;    SP  = 000000007AAD7DF0  TP  = 000000007B4E81C8  R14 = 0000000000000000&lt;BR /&gt;    R15 = 000000007AAD7DE0  R16 = FFFFFFFF820851A0  R17 = 0000000000002E18&lt;BR /&gt;    R18 = 000000000097C3F0  R19 = 000000000008B874  R20 = 0000000000970760&lt;BR /&gt;    R21 = FFFFFFFFFFFFFFBE  R22 = 0000000000000000  R23 = 0067000000970760&lt;BR /&gt;    R24 = 00000000009777F0  R25 = 0000000000000001  R26 = 000000000008D0F8&lt;BR /&gt;    R27 = 000000000096D610  R28 = 0000000000000000  R29 = FFFFFFFFFFFFFFE7&lt;BR /&gt;    R30 = 000000000008CFD0  R31 = 000000007AAD7BE0  PC  = 0000000000254A50&lt;BR /&gt;    BSP/STORE = 000007FDBFFD4310 / 000007FDBFFD42A8 PSR = 0000101308426030&lt;BR /&gt;    IIPA = 0000000000254A40&lt;BR /&gt;    B0  = 0000000000254AB0  B6  = FFFFFFFF820851A0  B7  = FFFFFFFF80128550&lt;BR /&gt;&lt;BR /&gt;    Interrupted Frame RSE Backing Store, Size = 12 registers&lt;BR /&gt;&lt;BR /&gt;    R32 = 0000000000089498  R33 = 000000000000001D  R34 = 0000000000088C30&lt;BR /&gt;    R35 = 000000000008B83C  R36 = 0000000000000002  R37 = 0000000000000800&lt;BR /&gt;    R38 = 0000000000088C30  R39 = 0000000000000019  R40 = 00000000001E3E10&lt;BR /&gt;    R41 = C000000000000692  R42 = 00000000006DE000  R43 = 00000000009777C0&lt;BR /&gt;ALPHA_RAA$$ &lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2010 08:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624364#M39853</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2010-04-27T08:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624365#M39854</link>
      <description>Rob,&lt;BR /&gt;&lt;BR /&gt;the code is trying to write to virtual address ZERO, this fails with an ACCVIO.&lt;BR /&gt;&lt;BR /&gt;Try SET PROC/DUMP before running your PHP test script and then have a look at the process dump with ANAL/PROC xxx.DMP&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 27 Apr 2010 09:13:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624365#M39854</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-04-27T09:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624366#M39855</link>
      <description>Rob,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt; If I set the loop count lower, it's fine.&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;As in, &lt;BR /&gt;$index &amp;lt; 159999&lt;BR /&gt;or just much lower?&lt;BR /&gt;&lt;BR /&gt;In other words, have you determined what the exact limit is?&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Tue, 27 Apr 2010 09:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624366#M39855</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2010-04-27T09:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624367#M39856</link>
      <description>I knocked a zero off and it worked OK.</description>
      <pubDate>Tue, 27 Apr 2010 09:34:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624367#M39856</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2010-04-27T09:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624368#M39857</link>
      <description>&lt;!--!*#--&gt;ALPHA_RAA$$$ anal/proc php.dmp&lt;BR /&gt;&lt;BR /&gt;         OpenVMS I64 Debug64 Version X8.3-015&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;%DEBUG-W-IMAGENF, target image PHP not found on host system&lt;BR /&gt;%DEBUG-W-IMAGENF, target image PHP_MYSQL not found on host system&lt;BR /&gt;%DEBUG-W-IMAGENF, target image PHP_OPENVMS not found on host system&lt;BR /&gt;%DEBUG-W-IMAGENF, target image PHP_PCRE not found on host system&lt;BR /&gt;%DEBUG-W-IMAGENF, target image PHP_SESSION not found on host system&lt;BR /&gt;%DEBUG-W-IMAGENF, target image PHP_SOCKETS not found on host system&lt;BR /&gt;%DEBUG-W-IMAGENF, target image PHP_XML not found on host system&lt;BR /&gt;%DEBUG-W-IMAGENF, target image PHP_ZIP not found on host system&lt;BR /&gt;%DEBUG-W-IMAGENF, target image PHP_ZLIB not found on host system&lt;BR /&gt;%DEBUG-I-TRUNC64, address 0000005000020460 being truncated in RSTCNTRL\DBG$DST_RST_BUILD&lt;BR /&gt;%DEBUG-I-CRMPSCFAIL, failed to map-in the Debugger Symbol Table (DST)&lt;BR /&gt;-DEBUG-E-BADSTATUS, bad status returned from SYS$CRMPSC&lt;BR /&gt;-SYSTEM-F-NOPRIV, insufficient privilege or object protection violation&lt;BR /&gt;%DEBUG-I-CRMPSCFAIL, failed to map-in the Debugger Symbol Table (DST)&lt;BR /&gt;-DEBUG-E-BADSTATUS, bad status returned from SYS$CRMPSC&lt;BR /&gt;-SYSTEM-F-NOPRIV, insufficient privilege or object protection violation&lt;BR /&gt;%DEBUG-I-NOUNIVERSALS, shareable image contains no universal symbols&lt;BR /&gt;%SYSTEM-F-ACCVIO, access violation, reason mask=04, virtual address=0000000000000000, PC=0000000000254A50, PS=0000001B&lt;BR /&gt;%DEBUG-I-ERRINSDEC, error decoding instruction at current PC&lt;BR /&gt;%DEBUG-E-INTERR, debugger error in RSTACCESS\DBG$STA_VALSPEC - Dwarf AND DST or session corruption&lt;BR /&gt;break on unhandled exception at &lt;BR /&gt;DBG&amp;gt;  Exit</description>
      <pubDate>Tue, 27 Apr 2010 09:39:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624368#M39857</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2010-04-27T09:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624369#M39858</link>
      <description>Rob,&lt;BR /&gt;&lt;BR /&gt;your test script runs fine on OpenVMS Alpha V8.3 with CSWS_PHP V1.3 installed:&lt;BR /&gt;&lt;BR /&gt;CHARON-AXP $ php rob.tmp&lt;BR /&gt;Content-type: text/html&lt;BR /&gt;X-Powered-By: PHP/4.3.10&lt;BR /&gt;&lt;BR /&gt;CHARON-AXP $&lt;BR /&gt;&lt;BR /&gt;If I add another '0' to the loop index, it fails with a meaningful error message:&lt;BR /&gt;&lt;BR /&gt;CHARON-AXP $ php rob.tmp ! with  $index &amp;lt; 1600000&lt;BR /&gt;Content-type: text/html&lt;BR /&gt;X-Powered-By: PHP/4.3.10&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Fatal error&lt;/B&gt;:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in &lt;B&gt;/sys$sysroot/sysmgr/rob.tmp&lt;/B&gt; on line &lt;B&gt;6&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So I'd say this is a bug in your PHP version.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 27 Apr 2010 10:29:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624369#M39858</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-04-27T10:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624370#M39859</link>
      <description>Rob,&lt;BR /&gt;&lt;BR /&gt;it appears that you need to add an /IMAGE_PATH= qualifier to ANAL/PROC and point it to the directory containing the PHP*.EXE files. Also you seem to need more privs for that debug session.&lt;BR /&gt;&lt;BR /&gt;Once you're at the DBG&amp;gt; prompt, try:&lt;BR /&gt;&lt;BR /&gt;DBG&amp;gt; EXA/INS @PC&lt;BR /&gt;DBG&amp;gt; SHOW CALLS&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 27 Apr 2010 10:36:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624370#M39859</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-04-27T10:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624371#M39860</link>
      <description>&lt;!--!*#--&gt;I have all privs switched on.&lt;BR /&gt;&lt;BR /&gt;ALPHA_RAA$$$ anal/proc/image_path=phppath php.dmp&lt;BR /&gt;&lt;BR /&gt;         OpenVMS I64 Debug64 Version X8.3-015&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;%DEBUG-I-NODSTS, no Debugger Symbol Table: no DSF file found and&lt;BR /&gt;-DEBUG-I-NODSTIMG, no symbols in DISK$ORACLE:[APACHE.PHP.BIN]PHP.EXE;1&lt;BR /&gt;%SYSTEM-F-ACCVIO, access violation, reason mask=04, virtual address=0000000000000000, PC=0000000000254A50, PS=0000001B&lt;BR /&gt;break on unhandled exception at SHARE$PHPSHR_CODE2+1862224&lt;BR /&gt;DBG&amp;gt; EXA/INS @PC&lt;BR /&gt;SHARE$PHPSHR_CODE2+1862224:                 st4         [r22] = r20&lt;BR /&gt;DBG&amp;gt; SHOW CALLS&lt;BR /&gt; module name    routine name     line           rel PC           abs PC&lt;BR /&gt; SHARE$PHPSHR_CODE2                         00000000001C6A50 0000000000254A50&lt;BR /&gt; SHARE$PHPSHR_CODE2                         0000000000155E10 00000000001E3E10&lt;BR /&gt;                                            0000000000002950 0000000000022950&lt;BR /&gt;                                            0000000000000E30 0000000000020E30&lt;BR /&gt;DBG&amp;gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2010 11:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624371#M39860</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2010-04-27T11:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624372#M39861</link>
      <description>Rob,&lt;BR /&gt;&lt;BR /&gt;the failing instruction is in the PHPSHR.EXE image. If you would do DBG&amp;gt; EXA R22 it should report a value of 0 - that's causing the ACCVIO.&lt;BR /&gt;&lt;BR /&gt;The next step would be to try to find out, how R22 has been loaded with this invalid address. But as you probably don't have the PHP sources, it would be a tedious excercise.&lt;BR /&gt;&lt;BR /&gt;Which version of PHP are you running ? Did you install any update kits ? DIR SYS$HELP:*PHP*.REL*&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2010 11:12:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624372#M39861</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-04-27T11:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624373#M39862</link>
      <description>&lt;!--!*#--&gt;The Occam's razor mechanism suggests that the process ran out of addressable memory.&lt;BR /&gt;&lt;BR /&gt;Proof 1: &lt;BR /&gt;   If I set the loop count lower, it's fine.&lt;BR /&gt;   Use more: kaboom, Use less: ok.&lt;BR /&gt;Proof 2:&lt;BR /&gt;   Memory Limit in PHP.INI is set to 1000M. &lt;BR /&gt;   You lied to the system and you expect it to behave reasonably?&lt;BR /&gt;   &lt;BR /&gt;The absolute maximum addressable memory is 1024M (give or take a page). Your process needs a fair amount MB's to place the code, and other variables. &lt;BR /&gt;So you _may_ have 900M available to begin with. &lt;BR /&gt;Just check a near idle session with F$GETJPI(pid,"FREP0VA")&lt;BR /&gt;&lt;BR /&gt;But you know the the pages you can dirty are further constraint by PGFLQUOTA.&lt;BR /&gt;Check PAGFILCNT, for an idle sessione while you are at it.&lt;BR /&gt;&lt;BR /&gt;Now Jan raises a fine question. &lt;BR /&gt;How much less works?&lt;BR /&gt;&lt;BR /&gt;You respond 10x less. Fine (ish)&lt;BR /&gt;So try 20,000 - 40,000 and 80,000&lt;BR /&gt;For each record and report: FREP0VA and PAGFILCNT&lt;BR /&gt;Maybe that suggests a limit?&lt;BR /&gt;I honestly do not know. &lt;BR /&gt;Just suggesting an analytic approach.&lt;BR /&gt;&lt;BR /&gt;You may also want to use:&lt;BR /&gt;  $ SHOW PROC/CONT xxx ! Hit "q" for QUOTA page.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Hein.</description>
      <pubDate>Tue, 27 Apr 2010 12:09:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624373#M39862</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-04-27T12:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624374#M39863</link>
      <description>Hein,&lt;BR /&gt;&lt;BR /&gt;on Alpha, if you reach the 'memory limit' as imposed by the PHP.INI file, you get a nice error message. The default 'memory limit' seems to be around 8 MB (without a PHP.INI file).&lt;BR /&gt;&lt;BR /&gt;If you specify an 'unreasonable' memory limit and actually try to reach that limit (by increasing the max. index value), the program 'silently' dies WITHOUT an error message, when remaining pagefile quota reaches 0.&lt;BR /&gt;&lt;BR /&gt;Maybe it does not die so silently on OpenVMS I64 ?! Although you would need to be using a real small PGFLQUOTA to hit that limit with index = 160000.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 27 Apr 2010 13:02:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624374#M39863</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-04-27T13:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624375#M39864</link>
      <description>&lt;!--!*#--&gt;Capturing quota info is a little difficult as the PHP script fails almost immediately.&lt;BR /&gt;&lt;BR /&gt;For reference, here's the UAF quotas :-&lt;BR /&gt;&lt;BR /&gt;Maxjobs:         0  Fillm:       150  Bytlm:      1000000&lt;BR /&gt;Maxacctjobs:     0  Shrfillm:      0  Pbytlm:           0&lt;BR /&gt;Maxdetach:       0  BIOlm:       150  JTquota:       4096&lt;BR /&gt;Prclm:           4  DIOlm:      4096  WSdef:         4096&lt;BR /&gt;Prio:            4  ASTlm:      4096  WSquo:         8192&lt;BR /&gt;Queprio:         0  TQElm:        10  WSextent:     16384&lt;BR /&gt;CPU:        (none)  Enqlm:      4000  Pgflquo:    5000000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I need to do some more investigation work on this, but I'm bogged down with some more pressing problems at the moment.&lt;BR /&gt;&lt;BR /&gt;I guess I was looking for one of the quick wins that we sometimes get from the forums, and that one of you had come across this already.&lt;BR /&gt;&lt;BR /&gt;As I'm still running PHP 1.3 (PHP 4.x), I really need to upgrade and test this again.&lt;BR /&gt;&lt;BR /&gt;For the time being, I'll run the script under WAMP instead.&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2010 13:22:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624375#M39864</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2010-04-27T13:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624376#M39865</link>
      <description>Rob,,&lt;BR /&gt;&lt;BR /&gt;I've now installed CSWS_PHP V2.1 on OpenVMS I64 V8.2 and I cannot reproduce this problem. Without a PHP.INI file and by setting the index loop counter to 16000000, I get the same error message as with V1.3 ECO 2 on OpenVMS Alpha.&lt;BR /&gt;&lt;BR /&gt;Your PGFLQUOTA looks a little bit ridiculous (2.56 GB).&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 27 Apr 2010 13:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624376#M39865</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-04-27T13:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624377#M39866</link>
      <description>&lt;BR /&gt;Volker&amp;gt;&amp;gt; on Alpha, if you reach the 'memory limit' as imposed by the PHP.INI file, you get a nice error message.&lt;BR /&gt;&lt;BR /&gt;That's my point.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; If you specify an 'unreasonable' memory limit and actually try to reach that limit (by increasing the max. index value), the program 'silently' dies WITHOUT an error message&lt;BR /&gt;&lt;BR /&gt;Well, I imagine where are flavors of mallocs going on. When simply allocating user data it may react different to failure then when allocating for some internal data structure.&lt;BR /&gt;&lt;BR /&gt;Volker&amp;gt;&amp;gt; Although you would need to be using a real small PGFLQUOTA to hit that limit with index = 160000.&lt;BR /&gt;&lt;BR /&gt;Yeah, for a simple fortran like array @ 4 bytes/integer with would be nothing. But this is probably implemented very dynamic/flexible with possibly a re-allocated element array and a malloc per element. So give is 32 bytes/object and it is still not much in total.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; Capturing quota info is a little difficult as the PHP script fails almost immediately.&lt;BR /&gt;&lt;BR /&gt;That's why you should focus on the SUCCESS cases, not the failures.&lt;BR /&gt;Of 20,000 is already too much, then try 8,000  and 16,000.&lt;BR /&gt;If 80K is too much then try 20k, 30K, 40K.&lt;BR /&gt;&lt;BR /&gt;Rob&amp;gt;&amp;gt; For reference, here's the UAF quotas :-&lt;BR /&gt;&lt;BR /&gt;Those looks like monkeys having thrown darts.&lt;BR /&gt;And they are likely to be overruled with SYSGEN PQL_M values.&lt;BR /&gt;FILLM is relatively low/scary.&lt;BR /&gt;TQ, WS settings low, &lt;BR /&gt;ASTLM/DIOLM high,&lt;BR /&gt;PGLFIL silly high.&lt;BR /&gt;&lt;BR /&gt;Rob&amp;gt;&amp;gt; I guess I was looking for one of the quick wins that we sometimes get from the forums, and that one of you had come across this already.&lt;BR /&gt;&lt;BR /&gt;Certainly. And Volker may have come through checking an other version.&lt;BR /&gt;&lt;BR /&gt;Volker&amp;gt;&amp;gt; I've now installed CSWS_PHP V2.1 on OpenVMS I64 V8.2 and I cannot reproduce this problem.&lt;BR /&gt;&lt;BR /&gt;Case closed! :-)&lt;BR /&gt;&lt;BR /&gt;Volker&amp;gt;&amp;gt; Your PGFLQUOTA looks a little bit ridiculous (2.56 GB).&lt;BR /&gt;&lt;BR /&gt;Ayup. Either clueless, or very smart (P2).&lt;BR /&gt;&lt;BR /&gt;Grins,&lt;BR /&gt;Hein&lt;BR /&gt;</description>
      <pubDate>Tue, 27 Apr 2010 14:06:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624377#M39866</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-04-27T14:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624378#M39867</link>
      <description>&amp;gt; Ayup. Either clueless, or very smart (P2).&lt;BR /&gt;&lt;BR /&gt;Probably clueless :) but they're there because I tend to edit and convert large files &amp;gt; 2GB which tends to require larger PGFL sizes.&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Tue, 27 Apr 2010 14:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624378#M39867</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2010-04-27T14:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: PHP Array Causing Access Violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624379#M39868</link>
      <description>Rob,&lt;BR /&gt;&lt;BR /&gt;playing with varying values of PGFLQUOTA and memory_limit, on OpenVMS I64 with CSWS_PHP V2.1, I now get a different error message:&lt;BR /&gt;&lt;BR /&gt;I64VMS $ php rob.tmp&lt;BR /&gt;X-Powered-By: PHP/5.2.6&lt;BR /&gt;Content-type: text/html&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Fatal error&lt;/B&gt;:  Out of memory (allocated 872939520) (tried to allocate 1342&lt;BR /&gt;17728 bytes) in &lt;B&gt;/dsa1/halle/itrc/rob.tmp&lt;/B&gt; on line &lt;B&gt;8&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;zend_mm_heap corrupted&lt;BR /&gt;&lt;BR /&gt;memory_limit=1000M, PGFLQUOTA=2000000. One could assume, that your version of PHP V1.3 could have stumbled more severely in that situation...&lt;BR /&gt;&lt;BR /&gt;Hein,&lt;BR /&gt;&lt;BR /&gt;you seem to be right about the allocation per array element: ...(tried to allocate 35 bytes)...&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 27 Apr 2010 15:39:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/php-array-causing-access-violation/m-p/4624379#M39868</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2010-04-27T15:39:20Z</dc:date>
    </item>
  </channel>
</rss>

