<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>14050</bug_id>
          
          <creation_ts>2008-01-17 10:39:09 +0300</creation_ts>
          <short_desc>Заниженный лимит памяти</short_desc>
          <delta_ts>2009-07-01 12:53:05 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>pear-core</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>boris</cc>
    
    <cc>lav</cc>
    
    <cc>rt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61270</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2008-01-17 10:39:09 +0300</bug_when>
    <thetext>В /usr/bin/pear указано -d memory_limit=8M
что недостаточно для исполнения на x86_64. Предлагаю указать 12M
У меня сборка всех пакетов на x86_64 посыпалась :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61273</commentid>
    <comment_count>1</comment_count>
    <who name="Denis Klimov">zver</who>
    <bug_when>2008-01-17 11:13:18 +0300</bug_when>
    <thetext>там указано 15М
http://sisyphus.ru/srpm/Sisyphus/pear-core/spec</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61281</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2008-01-17 12:01:35 +0300</bug_when>
    <thetext>Ещё раз: в файле /usr/bin/pear.
Вообще мне кажется, вместо длинной конструкции
php -d output_buffering=1 -d variables_order=EGPCS -d open_basedir=&quot;&quot; -d 
safe_mode=0 -d register_argc_argv=&quot;On&quot; -d auto_prepend_file=&quot;&quot; -d 
auto_append_file=&quot;&quot; -d memory_limit=15M scripts/pearcmd.php 
install --nodeps --offline

вполне подойдёт scripts/pear.sh, откуда вы, похоже, строчку и взяли.
Давайте попробуем scripts/pear.sh использовать. Он же в будущем 
становится /usr/bin/pear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61282</commentid>
    <comment_count>3</comment_count>
    <who name="Denis Klimov">zver</who>
    <bug_when>2008-01-17 12:14:06 +0300</bug_when>
    <thetext>Хм, раньше так и было, но Вы мне сами в личной переписке писали:

&gt; Не используйте скрипт scripts/pear.php для установки
&gt; Вызывайте сразу строку, которая в нём (с нужными подстановками):
&gt; exec $PHP -C -q $INCARG -d output_buffering=1 -d 
&gt; variables_order=EGPCS -d open_basedir=&quot;&quot; -d safe_mode=0 -d 
&gt; register_argc_argv=&quot;O
&gt; n&quot; -d auto_prepend_file=&quot;&quot; -d auto_append_file=&quot;&quot; -d 
&gt; memory_limit=8M $INCDIR/pearcmd.php &quot;$@
&gt; Заодно и лимит памяти увеличьте до 15Mb

в /usr/bin/pear лимит подниму.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61330</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2008-01-18 00:35:46 +0300</bug_when>
    <thetext>Прошу прощения за глупый совет :(
Как-то сразу не дошло, что проблема и меня коснётся.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61337</commentid>
    <comment_count>5</comment_count>
    <who name="Denis Klimov">zver</who>
    <bug_when>2008-01-18 08:46:20 +0300</bug_when>
    <thetext>поправил в 1.6.2-alt4 отправлен на сборку в сизиф</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61341</commentid>
    <comment_count>6</comment_count>
    <who name="Denis Klimov">zver</who>
    <bug_when>2008-01-18 09:32:14 +0300</bug_when>
    <thetext>Fixed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93938</commentid>
    <comment_count>7</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2009-06-30 03:19:44 +0400</bug_when>
    <thetext>У меня не собирается pear-PhpDocumentor:
PHP Fatal error:  Allowed memory size of 15728640 bytes exhausted (tried to allocate 262144 bytes) in /usr/share/php/pear/PEAR/Registry.php on line 1051

Увеличим лимит ещё? 20M мне вполне помогло.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93948</commentid>
    <comment_count>8</comment_count>
    <who name="Boris Savelev">boris</who>
    <bug_when>2009-06-30 11:43:17 +0400</bug_when>
    <thetext>возможно стоит вообще убрать ограничение?
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=375070#53</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93949</commentid>
    <comment_count>9</comment_count>
    <who name="Denis Klimov">zver</who>
    <bug_when>2009-06-30 12:35:03 +0400</bug_when>
    <thetext>добавил в acl @everybody
В данный период нет к сожалению совсем времени заниматься поддержкой.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93968</commentid>
    <comment_count>10</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2009-06-30 16:14:13 +0400</bug_when>
    <thetext>pear-core-1.7.1-alt2 -&gt; sisyphus:

* Tue Jun 30 2009 Boris Savelev &lt;boris@altlinux&gt; 1.7.1-alt2

- NMU
- remove memory limit for pear (closes:#14050)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93994</commentid>
    <comment_count>11</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2009-07-01 01:53:19 +0400</bug_when>
    <thetext>То же самое нужно сделать для /usr/bin/pecl:
$ pecl make-rpm-spec pam-1.0.2.tgz
PHP Fatal error:  Allowed memory size of 5242880 bytes exhausted (tried to allocate 77824 bytes) in /usr/share/php/pear/PEAR/Dependency2.php on line 416</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94011</commentid>
    <comment_count>12</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2009-07-01 12:53:05 +0400</bug_when>
    <thetext>pear-core-1.7.1-alt2.1 -&gt; sisyphus:

* Wed Jul 01 2009 Boris Savelev &lt;boris@altlinux&gt; 1.7.1-alt2.1

- NMU
- remove memory limit for pecl (closes:#14050)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>