Hi,
I installed F14 x86_64 from the Beta DVD this week. When I updated the huge number of packages I normally install, I found that whenever certain php-pear packages or the php-channel-doctrine package are installed or updated, yum fires off php and it runs using over 90% of CPU, and seemingly doing nothing. I let it run for a while to see if it was doing something useful, and it ran for over 40 minutes without ending, using most of the cpu during that time. When I cancel the transaction, yum in the future informs me that there is a transaction awaiting completion and I should run yum-complete-transaction. When I do the same behavior ensues.
I assume this is an error, and so I wonder where to file it. Is this an error in yum? In php? In the configuration of the package being installed? What should the bugzilla be opened against? I would rather not open a bugzilla for each component that does this, so how would I generalize it?
Thanks.
Le 08/10/2010 16:40, stan a écrit :
Hi,
I installed F14 x86_64 from the Beta DVD this week. When I updated the huge number of packages I normally install, I found that whenever certain php-pear packages or the php-channel-doctrine package are installed or updated, yum fires off php and it runs using over 90% of CPU, and seemingly doing nothing. I let it run for a while to see if it was doing something useful, and it ran for over 40 minutes without ending, using most of the cpu during that time. When I cancel the transaction, yum in the future informs me that there is a transaction awaiting completion and I should run yum-complete-transaction. When I do the same behavior ensues.
Could you provides the installed php extension list ?
rpm -qa php* | sort
1/ yum update --exclude php* (to avoid long list in next) 2/ yum update
And a full yum transaction output
+
I assume this is an error, and so I wonder where to file it. Is this an error in yum? In php? In the configuration of the package being installed? What should the bugzilla be opened against? I would rather not open a bugzilla for each component that does this, so how would I generalize it?
Thanks.
On Fri, 08 Oct 2010 18:42:26 +0200 Remi Collet Fedora@FamilleCollet.com wrote:
Could you provides the installed php extension list ?
rpm -qa php* | sort
Some of these are packages that trigger the problem. RPM thinks they are installed, though yum thinks they aren't complete.
Note the two installed packages of php-File_Find caused by this behavior and my abort of same. I turned off a bunch of plugins in case they were the cause. The run below will show whether that is the case.
php-5.3.3-1.fc14.x86_64 php-adodb-5.11-1.fc14.noarch php-bcmath-5.3.3-1.fc14.x86_64 php-channel-doctrine-1.3-1.fc14.1.noarch php-channel-ezc-1-2.fc12.noarch php-channel-phing-1.0.0-7.fc12.noarch php-channel-phpunit-1.3-2.fc13.noarch php-channel-symfony-1.3-1.fc13.noarch php-cli-5.3.3-1.fc14.x86_64 php-common-5.3.3-1.fc14.x86_64 php-dba-5.3.3-1.fc14.x86_64 php-devel-5.3.3-1.fc14.x86_64 phpdoc-1.4.3-2.fc13.noarch php-domxml-php4-php5-1.21.1-3.fc14.noarch php-email-address-validation-0-0.3.20090910svn.fc13.noarch php-embedded-5.3.3-1.fc14.x86_64 php-ezc-Authentication-1.3.1-1.fc13.noarch php-ezc-AuthenticationDatabaseTiein-1.1-1.fc12.noarch php-ezc-Base-1.8-1.fc13.noarch php-ezc-Database-1.4.7-1.fc14.noarch php-ezc-Feed-1.3-1.fc13.noarch php-facedetect-1.0.0-6.fc14.x86_64 phpFlickr-2.3.0.1-2.fc12.noarch php-gd-5.3.3-1.fc14.x86_64 php-getid3-2.0.0b5-2.fc12.noarch php-hkit-0.5-4.fc12.noarch php-idn-1.2c-1.fc14.x86_64 php-IDNA_Convert-0.6.3-3.fc12.noarch php-imap-5.3.3-1.fc14.x86_64 php-intl-5.3.3-1.fc14.x86_64 php-laconica-0.5.0-5.fc12.noarch php-layers-menu-3.2.0-0.2.rc.fc12.noarch php-ldap-5.3.3-1.fc14.x86_64 phpldapadmin-1.2.0.5-2.fc14.noarch php-LightweightPicasaAPI-3.3-2.fc12.noarch phplogcon-2.1.6-5.beta.fc12.noarch php-magickwand-1.0.8-6.fc14.2.x86_64 php-magpierss-0.72-6.fc12.noarch php-manual-en-20100611-1.fc14.noarch php-mapserver-5.6.3-3.fc14.x86_64 php-mbstring-5.3.3-1.fc14.x86_64 php-mcrypt-5.3.3-1.fc14.x86_64 php-mssql-5.3.3-1.fc14.x86_64 phpMyAdmin-3.3.7-1.fc14.noarch php-mysql-5.3.3-1.fc14.x86_64 php-nusoap-0.9.5-1.fc14.noarch php-oauth-1.0-0.7.svn592.fc12.noarch php-odbc-5.3.3-1.fc14.x86_64 php-pdb-1.3.4-4.fc12.noarch php-pdo-5.3.3-1.fc14.x86_64 php-pear-1.9.1-2.fc14.noarch php-pear-Auth-1.6.2-1.fc14.noarch php-pear-Auth_HTTP-2.1.6-3.fc12.noarch php-pear-Auth-OpenID-2.1.1-8.fc12.noarch php-pear-Auth-SASL-1.0.4-1.fc13.noarch php-pear-Benchmark-1.2.7-3.fc12.noarch php-pear-CAS-1.1.2-1.fc14.noarch php-pear-Console-Color-1.0.2-4.fc12.noarch php-pear-Console-Getargs-1.3.4-4.fc14.noarch php-pear-Console-ProgressBar-0.5.2-0.6.beta.fc14.noarch php-pear-Console-Table-1.1.3-4.fc14.noarch php-pear-Crypt-CHAP-1.5.0-1.fc14.noarch php-pear-Date-1.4.7-4.fc12.noarch php-pear-DB-1.7.13-3.fc12.noarch php-pear-DB-DataObject-1.8.12-1.fc12.noarch php-pear-DB-DataObject-FormBuilder-1.0.0-1.fc12.noarch php-pear-Event-Dispatcher-1.1.0-2.fc14.noarch php-pear-File-1.3.0-3.fc12.noarch php-pear-File-Find-1.3.0-4.fc14.noarch php-pear-File-Find-1.3.1-1.fc14.noarch php-pear-File-Passwd-1.1.7-1.fc12.noarch php-pear-File-SMBPasswd-1.0.3-1.fc12.noarch php-pear-HTML-Common-1.2.5-2.fc12.noarch php-pear-HTML-QuickForm-3.2.11-1.fc12.noarch php-pear-HTML-QuickForm-ElementGrid-0.1.1-4.fc12.noarch php-pear-HTML-Table-1.8.3-1.fc14.noarch php-pear-HTML_Template_PHPLIB-1.4.0-2.fc12.noarch php-pear-HTTP-1.4.1-5.fc14.noarch php-pear-HTTP-Client-1.2.1-3.fc12.noarch php-pear-HTTP-Request-1.4.4-1.fc12.noarch php-pear-HTTP-Upload-0.9.1-4.fc12.noarch php-pear-Image-Canvas-0.3.2-1.fc12.noarch php-pear-Image-Color-1.0.3-1.fc12.noarch php-pear-Image-Graph-0.7.3-0.1.svn291756.fc14.noarch php-pear-Image-GraphViz-1.2.1-6.fc12.noarch php-pear-Log-1.12.3-1.fc14.noarch php-pear-Mail-1.2.0-1.fc14.noarch php-pear-Mail-Mime-1.8.0-1.fc14.noarch php-pear-Mail-mimeDecode-1.5.4-1.fc14.noarch php-pear-MDB2-2.4.1-4.fc12.noarch php-pear-MDB2-Driver-mysql-1.4.1-5.fc12.noarch php-pear-Net-Curl-1.2.5-3.fc12.noarch php-pear-Net-DIME-1.0.1-4.fc14.noarch php-pear-Net-DNS-1.0.5-1.fc14.noarch php-pear-Net-Ping-2.4.5-2.fc14.noarch php-pear-Net-POP3-1.3.7-1.fc12.noarch php-pear-Net-Sieve-1.3.0-1.fc14.noarch php-pear-Net-SMTP-1.4.2-1.fc14.noarch php-pear-Net-Socket-1.0.9-4.fc14.noarch php-pear-Net-URL-1.0.15-3.fc12.noarch php-pear-Net-URL-Mapper-0.9.0-4.fc12.noarch php-pear-Net-UserAgent-Detect-2.5.2-1.fc14.noarch php-pear-Numbers-Roman-1.0.2-4.fc12.noarch php-pear-Numbers-Words-0.16.2-1.fc14.noarch php-pear-Pager-2.4.8-1.fc12.noarch php-pear-phing-2.4.2-1.fc14.noarch php-pear-PHP-Compat-1.5.0-5.fc14.noarch php-pear-PHP-CompatInfo-1.9.0-3.fc14.noarch php-pear-PhpDocumentor-1.4.3-2.fc13.noarch php-pear-SOAP-0.12.0-4.fc14.noarch php-pear-Structures-DataGrid-0.9.0-5.fc12.noarch php-pear-Structures-DataGrid-DataSource-Array-0.1.4-3.fc12.noarch php-pear-Structures-DataGrid-DataSource-DataObject-0.2.1-3.fc12.noarch php-pear-Structures-DataGrid-Renderer-Pager-0.1.3-3.fc12.noarch php-pear-Structures-DataGrid-Renderer-Smarty-0.1.4-3.fc12.noarch php-pear-Validate-0.8.3-1.fc14.noarch php-pear-Validate-Finance-CreditCard-0.5.3-3.fc12.noarch php-pear-Var-Dump-1.0.3-5.fc14.noarch php-pear-XML-Beautifier-1.2.0-3.fc12.noarch php-pear-XML-Parser-1.3.2-4.fc14.noarch php-pear-XML-RSS-1.0.0-1.fc14.noarch php-pecl-apc-3.1.4-2.fc14.x86_64 php-pecl-geoip-1.0.7-4.fc12.x86_64 php-pecl-lzf-1.5.2-5.fc12.x86_64 php-pecl-mailparse-2.1.5-2.fc12.x86_64 php-pecl-memcache-3.0.5-1.fc14.x86_64 php-pecl-ncurses-1.0.1-1.fc13.x86_64 php-pecl-parsekit-1.2-5.CVS20090309.fc12.x86_64 php-pecl-radius-1.2.5-8.fc12.x86_64 php-pecl-sphinx-1.0.0-2.fc13.x86_64 php-pecl-xdebug-2.1.0-1.fc14.x86_64 phpPgAdmin-4.2.3-1.fc14.noarch php-pgsql-5.3.3-1.fc14.x86_64 php-PHPMailer-5.1-2.fc14.noarch php-phpSmug-2.1-1.fc14.noarch php-phpunit-PHPUnit-3.4.15-1.fc14.noarch php-process-5.3.3-1.fc14.x86_64 php-pspell-5.3.3-1.fc14.x86_64 php-shout-0.9.2-6.fc13.x86_64 php-simplepie-1.1.3-4.fc12.noarch php-Smarty-2.6.26-1.fc13.noarch php-snmp-5.3.3-1.fc14.x86_64 php-soap-5.3.3-1.fc14.x86_64 php-spyc-0.2.5-3.fc12.noarch php-suhosin-0.9.29-1.fc13.x86_64 php-symfony-YAML-1.0.3-1.fc14.noarch php-tidy-5.3.3-1.fc14.x86_64 phpTodo-0.8.1-0.10.beta.fc12.noarch phpwapmail-0.9.3-1.fc13.noarch php-xml-5.3.3-1.fc14.x86_64 php-xmlrpc-5.3.3-1.fc14.x86_64 php-xmpphp-0.1-0.7.rc2_r77.fc14.noarch php-ZendFramework-1.10.6-1.fc14.noarch php-ZendFramework-Cache-Backend-Apc-1.10.6-1.fc14.noarch php-ZendFramework-Cache-Backend-Memcached-1.10.6-1.fc14.noarch php-ZendFramework-Captcha-1.10.6-1.fc14.noarch php-ZendFramework-demos-1.10.6-1.fc14.noarch php-ZendFramework-Dojo-1.10.6-1.fc14.noarch php-ZendFramework-Feed-1.10.6-1.fc14.noarch php-ZendFramework-Gdata-1.10.6-1.fc14.noarch php-ZendFramework-Pdf-1.10.6-1.fc14.noarch php-ZendFramework-Search-Lucene-1.10.6-1.fc14.noarch php-ZendFramework-Services-1.10.6-1.fc14.noarch
1/ yum update --exclude php* (to avoid long list in next)
This is currently in process.
2/ yum update
And a full yum transaction output
As soon as it is available.
Thanks for looking.
On Fri, 08 Oct 2010 18:42:26 +0200 Remi Collet Fedora@FamilleCollet.com wrote:
2/ yum update
And a full yum transaction output
There was a broken package in the prior update (paraview) and rather than take it out, I just left it in. It only adds a few lines.
The error for php-pear-CAS occurred after I hit ctrl-C on the update job when the wheels started spinning. Below the yum output there are a couple of prints from top showing the cpu usage.
Loaded plugins: langpacks, merge-conf, presto, rpm-warm-cache Adding en_US to language list Setting up Update Process Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. --> Running transaction check ---> Package paraview.x86_64 0:3.8.1-2.fc14 set to be installed ---> Package php-domxml-php4-php5.noarch 0:1.21.2-1.fc14 set to be updated ---> Package php-pear-CAS.noarch 0:1.1.3-1.fc14 set to be updated ---> Package php-pear-Image-Graph.noarch 0:0.8.0-1.fc14 set to be updated --> Finished Dependency Resolution
Dependencies Resolved
================================================================================ Package Arch Version Repository Size ================================================================================ Installing: paraview x86_64 3.8.1-2.fc14 updates-testing 25 M replacing paraview-devel.x86_64 3.8.0-4.fc14 Updating: php-domxml-php4-php5 noarch 1.21.2-1.fc14 updates-testing 9.2 k php-pear-CAS noarch 1.1.3-1.fc14 updates-testing 173 k php-pear-Image-Graph noarch 0.8.0-1.fc14 updates-testing 375 k
Transaction Summary ================================================================================ Install 1 Package(s) Upgrade 3 Package(s) Total size: 26 M Is this ok [y/N]: Downloading Packages: Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction ^M Installing : paraview-3.8.1-2.fc14.x86_64 1/9Error unpacking rpm package paraview-3.8.1-2.fc14.x86_64
error: unpacking of archive failed on file /usr/lib64/paraview/paraview: cpio: rename ^M Updating : php-domxml-php4-php5-1.21.2-1.fc14.noarch 2/9 ^M Updating : php-pear-CAS-1.1.3-1.fc14.noarch 3/9Error in POSTIN scriptlet in rpm package php-pear-CAS-1.1.3-1.fc14.noarch
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gv.so' - /usr/lib64/php/modules/gv.so: undefined symbol: zend_error_noreturn in Unknown on line 0
(process:9630): GLib-GObject-CRITICAL **: gtype.c:2710: You forgot to call g_type_init()
(process:9630): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(process:9630): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed error: %post(php-pear-CAS-1.1.3-1.fc14.noarch) scriptlet failed, signal 2
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ PPID COMMAND 9630 root 20 0 736m 31m 23m R 93.0 1.6 1:13.51 9627 php 30234 root 20 0 15296 1300 836 R 2.5 0.1 3:21.17 5631 top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ PPID COMMAND 9630 root 20 0 736m 31m 23m R 91.8 1.6 2:25.79 9627 php 30234 root 20 0 15296 1300 836 R 2.5 0.1 3:22.84 5631 top
Le 08/10/2010 21:18, stan a écrit :
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gv.so' - /usr/lib64/php/modules/gv.so: undefined symbol: zend_error_noreturn in Unknown on line 0
At least this should be reported against "graphviz" (graphviz-php)
You should also try to disable as much as possible extension (put in comment the "extension" directive in /etc/php.d/*.ini) to find the guilty one.
+
(process:9630): GLib-GObject-CRITICAL **: gtype.c:2710: You forgot to call g_type_init()
(process:9630): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(process:9630): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed error: %post(php-pear-CAS-1.1.3-1.fc14.noarch) scriptlet failed, signal 2
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ PPID COMMAND 9630 root 20 0 736m 31m 23m R 93.0 1.6 1:13.51 9627 php 30234 root 20 0 15296 1300 836 R 2.5 0.1 3:21.17 5631 top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ PPID COMMAND 9630 root 20 0 736m 31m 23m R 91.8 1.6 2:25.79 9627 php 30234 root 20 0 15296 1300 836 R 2.5 0.1 3:22.84 5631 top
On Sat, 09 Oct 2010 07:12:01 +0200 Remi Collet Fedora@FamilleCollet.com wrote:
At least this should be reported against "graphviz" (graphviz-php)
https://bugzilla.redhat.com/show_bug.cgi?id=641639
You should also try to disable as much as possible extension (put in comment the "extension" directive in /etc/php.d/*.ini) to find the guilty one.
I'll wait on this until the above bug is fixed.
Thanks for your help.