PHP Rados failed in read operation if object size is large (say more than 10 MB )

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



running on ubuntu with nginx + php-fpm 

<?php
$rados = rados_create('admin');


rados_conf_read_file($rados, '/etc/ceph/ceph.conf');
rados_conf_set($rados, 'keyring','/etc/ceph/ceph.client.admin.keyring');

$temp = rados_conf_get($rados, "rados_osd_op_timeout");
echo  "osd ";
echo $temp;
$temp = rados_conf_get($rados, "client_mount_timeout");
echo  "clinet  " ;
echo $temp;
$temp = rados_conf_get($rados, "rados_mon_op_timeout");
echo   "mon  " ;
echo $temp;

$err = rados_connect($rados);
$ioRados = rados_ioctx_create($rados,'dev_whereis');

$pieceSize = rados_stat($ioRados,'TEMP_object');
var_dump($pieceSize);

$piece = rados_read($ioRados, 'TEMP_object',$pieceSize['psize'] ,0);

echo $piece;
?>

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux