( ! ) Warning: session_start(): open(/var/lib/php/session/sess_goiqhe6o9ismf28ms5o4gpecn3, O_RDWR) failed: No such file or directory (2) in /var/www/bitweaver/live/users/includes/bit_setup_inc.php on line 82
Call Stack
#TimeMemoryFunctionLocation
10.0001232848{main}( ).../page_history.php:0
20.0001234904require_once( '/var/www/bitweaver/live/kernel/includes/setup_inc.php' ).../page_history.php:16
30.02161909072BitSystem->scanPackages( ).../setup_inc.php:141
40.02372177352BitSystem->loadPackage( ).../BitSystem.php:1183
50.02382180384include_once( '/var/www/bitweaver/live/users/includes/bit_setup_inc.php' ).../BitSystem.php:1109
60.02422584640session_start ( ).../bit_setup_inc.php:82

( ! ) Warning: session_write_close(): open(/var/lib/php/session/sess_goiqhe6o9ismf28ms5o4gpecn3, O_RDWR) failed: No such file or directory (2) in /var/www/bitweaver/live/kernel/includes/classes/BitSystem.php on line 580
Call Stack
#TimeMemoryFunctionLocation
10.0001232848{main}( ).../page_history.php:0
20.06375032928BitSystem->display( ).../page_history.php:57
30.06385034320BitSystem->preDisplay( ).../BitSystem.php:505
40.06535048944session_write_close ( ).../BitSystem.php:580

( ! ) Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in /var/www/bitweaver/live/kernel/includes/classes/BitSystem.php on line 580
Call Stack
#TimeMemoryFunctionLocation
10.0001232848{main}( ).../page_history.php:0
20.06375032928BitSystem->display( ).../page_history.php:57
30.06385034320BitSystem->preDisplay( ).../BitSystem.php:505
40.06535048944session_write_close ( ).../BitSystem.php:580
- bitweaver

Version 13

bitweaverPerformance

Tips and Techniques for High Performance bitweaver

Created by: xing, Last modification: 09 Sep 2006 (11:22 UTC) by xing

bitweaver Performance Tips

These tips are particularly important for high volume sites.

Bitweaver Optimisation

  • every directory is scanned on every page load. even though the overhead is not large, we recommend that you remove all unused packages from your server. you can add them back at a later time point if you need them later on.
  • Beginning with version 2, we have global liberty caching for any parsed content. this will dramatically reduce loading time and load on the server for such content. The setting can be found in the Aministration --> Liberty --> Liberty Settings page

Template Optimisation


System Perfomance Tips

System Administration Tools


Apache Settings

Make sure you have an Advanced Apache Configuration for High Traffic Sites

PHP Optimisation

  • Use Fast Coding Habits
  • Allocate a large chunk of memory to php in your php.ini file
  • Install ImageMagick's Magickwand for better image handling
  • Install pecl fileinfo for better type checking on file uploads
  • Install an Accelerator
    • Installation of a PHP opcode caching mechanism like php-eaccelerator ( which is a maintained version of turck-mmcache ) will dratically reduce PHP memory usage and improve execution time. It is available as a yum installable Fedora extra rpm.

Postgres

Install the tablefunc contribution to achieve massive optimization of GatekeeperPackage security look ups. tablefunc has the Oracle'esque "connectby" function that will let you execute recurisve queries on a hierarchical table that has id/parent_id rows, ala the tiki_fisheye_gallery_map. To install, make sure you have installed teh postgresql-contrib rpm/deb/whatever, and execute something like this FedoraCore 3 command line:

# psql foo < /usr/share/pgsql/contrib/tablefunc.sql

Then to your config_inc.php, add:

<?php
define
'POSTGRESQL_CONTRIB'TRUE );
?>


ToDo

Areas to investigate for Code Opimizations

Page History
Date/CommentUserIPVersion
30 Apr 2010 (07:36 UTC)
Lester Caine81.138.11.13627
Current • Source
Davis178.93.252.826
View • Compare • Difference • Source
laetzer85.178.0.17024
View • Compare • Difference • Source
laetzer85.178.44.920
View • Compare • Difference • Source
laetzer141.20.125.25419
View • Compare • Difference • Source
laetzer85.178.30.7417
View • Compare • Difference • Source
laetzer85.178.30.7416
View • Compare • Difference • Source
xing194.152.164.4513
View • Compare • Difference • Source
xing194.152.164.4512
View • Compare • Difference • Source
xing194.152.164.4511
View • Compare • Difference • Source
spiderr66.57.239.24510
View • Compare • Difference • Source
spiderr66.194.217.2219
View • Compare • Difference • Source
spiderr66.194.217.2238
View • Compare • Difference • Source
spiderr66.93.240.2043
View • Compare • Difference • Source