cppcms-users Mailing List for CppCMS C++ Web Framework (Page 56)
Brought to you by:
artyom-beilis
You can subscribe to this list here.
| 2009 |
Jan
|
Feb
(22) |
Mar
|
Apr
(3) |
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
(15) |
Nov
(16) |
Dec
(13) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2010 |
Jan
(4) |
Feb
|
Mar
(8) |
Apr
(8) |
May
(8) |
Jun
(36) |
Jul
(63) |
Aug
(126) |
Sep
(47) |
Oct
(66) |
Nov
(46) |
Dec
(42) |
| 2011 |
Jan
(87) |
Feb
(24) |
Mar
(54) |
Apr
(21) |
May
(22) |
Jun
(18) |
Jul
(22) |
Aug
(101) |
Sep
(57) |
Oct
(33) |
Nov
(34) |
Dec
(66) |
| 2012 |
Jan
(64) |
Feb
(76) |
Mar
(73) |
Apr
(105) |
May
(93) |
Jun
(83) |
Jul
(84) |
Aug
(88) |
Sep
(57) |
Oct
(59) |
Nov
(35) |
Dec
(49) |
| 2013 |
Jan
(67) |
Feb
(17) |
Mar
(49) |
Apr
(64) |
May
(87) |
Jun
(64) |
Jul
(93) |
Aug
(23) |
Sep
(15) |
Oct
(16) |
Nov
(62) |
Dec
(73) |
| 2014 |
Jan
(5) |
Feb
(23) |
Mar
(21) |
Apr
(11) |
May
(1) |
Jun
(19) |
Jul
(27) |
Aug
(16) |
Sep
(5) |
Oct
(37) |
Nov
(12) |
Dec
(9) |
| 2015 |
Jan
(7) |
Feb
(7) |
Mar
(44) |
Apr
(28) |
May
(5) |
Jun
(12) |
Jul
(8) |
Aug
|
Sep
(39) |
Oct
(34) |
Nov
(30) |
Dec
(34) |
| 2016 |
Jan
(66) |
Feb
(23) |
Mar
(33) |
Apr
(15) |
May
(11) |
Jun
(15) |
Jul
(26) |
Aug
(4) |
Sep
(1) |
Oct
(30) |
Nov
(10) |
Dec
|
| 2017 |
Jan
(52) |
Feb
(9) |
Mar
(24) |
Apr
(16) |
May
(9) |
Jun
(12) |
Jul
(33) |
Aug
(8) |
Sep
|
Oct
(1) |
Nov
(2) |
Dec
(6) |
| 2018 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
(14) |
Jun
(1) |
Jul
(9) |
Aug
(1) |
Sep
(13) |
Oct
(8) |
Nov
(2) |
Dec
(2) |
| 2019 |
Jan
(1) |
Feb
(1) |
Mar
(3) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(9) |
Jul
(6) |
Aug
(25) |
Sep
(10) |
Oct
(10) |
Nov
(6) |
Dec
|
| 2021 |
Jan
|
Feb
|
Mar
(7) |
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(9) |
Oct
(1) |
Nov
|
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
|
From: Artyom B. <art...@ya...> - 2013-05-12 18:51:41
|
Check security settings: http://cppcms.com/wikipp/en/page/cppcms_1x_config#security.multipart_form_data_limit I had just uploaded 3.3GB file without problems via CppCMS HTTP server and via fastcgi with lighttpd. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Saikumar Gandapodi <sai...@gm...> >To: cpp...@li... >Sent: Sunday, May 12, 2013 8:43 PM >Subject: Re: [Cppcms-users] Upload large files > > >>>>It is really strange, does it work for a small files? >Yes, less than 20MB is fine. In fact tested multiple file uploads and works >beautifully. > >>>>On what size the failure occurs ? >Tried 130MB file and fails consistently. > >>>>Do you have enough space on the disk (default /tmp)? >Yes, /tmp has 30GB free space. > >>>>Does it work or not with internal web server? >I haven't tested with the internal web server. >Do want me to test this with internal web server to out rule cppcms issue ? > > > > >------------------------------------------------------------------------------ >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and >their applications. This 200-page book is written by three acclaimed >leaders in the field. The early access version is available now. >Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
|
From: Andy <ang...@ya...> - 2013-05-12 17:44:26
|
OK I removed the cppcms directory and untar-ed the tarball again. After I typed "cmake .." it ran mostly fine but I got a few lines of "Warning" and "Failed" messages: CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): CPack.cmake has already been included!! -- Performing Test BOOSTER_HAVE_GCC_BITS_EXCHANGE_AND_ADD - Failed -- Performing Test CPPCMS_HAVE_CPP0X_UXSTRING - Failed -- Performing Test CPPCMS_HAVE_CPP_0X_AUTO - Failed -- Performing Test CPPCMS_HAVE_CPP_0X_DECLTYPE - Failed Should I be worried about them? Then I ran "make" which seemed to run fine. "make test" passed 100% of the tests. So that's good. "make install" completed with no error. So apart from the "Warning" and "Failed" messages from cmake, the installation seems to have gone well. It does look like ICU was causing the problem. Unfortunately I need to deal with localization and UTF-8. So I guess I'd need ICU. Any ideas on how to make ICU work with cppcms? Thanks! ________________________________ From: Shiv Shankar Dayal <shi...@gm...> To: Andy <ang...@ya...> Sent: Sunday, May 12, 2013 11:34 AM Subject: Re: [Cppcms-users] make error during installation No either clean cmake files and makefiles generated by cmake. Simpler remove the cppcms directory and untar the tarball again and run cmake again. Related to ICU it is not mandatory. It is required to localize stuff as you can see here. http://site.icu-project.org/ On Sun, May 12, 2013 at 8:34 PM, Andy <ang...@ya...> wrote: I thought ICU is required for cppcms. Would cppcms even run without ICU? > > >Anyway I removed ICU and then reran "cmake .." > > >The weird thing is that it reported that "ICU FOund" even though I removed ICU. > > > % cmake .. >CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): > CPack.cmake has already been included!! >Call Stack (most recent call first): > booster/CMakeLists.txt:14 (include) > > > > >-- Looking for ICU libraries >-- ICU Found, building booster locale >-- Configuring done >-- Generating done >-- Build files have been written to: /home/andy/cppcms-1.0.3/build > > > > > > >Then I ran "make" and there was an error: > > >% make >[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:10:0: >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.h:15:27: fatal error: unicode/locid.h: No such file or directory >compilation terminated. >make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >make: *** [all] Error 2 > > > > > > > >________________________________ > From: Shiv Shankar Dayal <shi...@gm...> >To: Andy <ang...@ya...> >Sent: Sunday, May 12, 2013 10:42 AM > >Subject: Re: [Cppcms-users] make error during installation > > > >I checked my system and I do not have ICU installed which is needed for localization as you know. If you do not need localization you can temporarily uninstall ICU and build should run fine because it does at least for me. For exact error problem I think Artyom can answer the problem you reported in original mail as I am not the expert of all the internals. :-) > > > > >On Sun, May 12, 2013 at 7:49 PM, Andy <ang...@ya...> wrote: > >The CMakeOutput.log is here: http://www.2shared.com/file/hMbiAfcw/CMakeOutput.html >> >> >>The CMakeError.log is here: http://www.2shared.com/file/857e_tr_/CMakeError.html >> >> >>The following is what got output to the terminal when "cmake .." was running: >> >> >> % cmake .. >>-- The CXX compiler identification is GNU 4.7.3 >>-- Check for working CXX compiler: /usr/bin/c++ >>-- Check for working CXX compiler: /usr/bin/c++ -- works >>-- Detecting CXX compiler ABI info >>-- Detecting CXX compiler ABI info - done >>CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): >> CPack.cmake has already been included!! >>Call Stack (most recent call first): >> booster/CMakeLists.txt:14 (include) >> >> >> >> >>-- Looking for ICU libraries >>-- ICU Found, building booster locale >>-- Performing Test GCC_IS_GCC4 >>-- Performing Test GCC_IS_GCC4 - Success >>-- Configuring done >>-- Generating done >>-- Build files have been written to: /home/andy/cppcms-1.0.3/build >> >> >> >> >> >>________________________________ >> From: Shiv Shankar Dayal <shi...@gm...> >>To: Andy <ang...@ya...> >>Sent: Sunday, May 12, 2013 9:59 AM >> >>Subject: Re: [Cppcms-users] make error during installation >> >> >> >>Can you please paste your cmake log? >> >> >> >> >>On Sun, May 12, 2013 at 6:55 PM, Andy <ang...@ya...> wrote: >> >>I downloaded the release from here: >>> >>> >>>http://sourceforge.net/projects/cppcms/files/cppcms/1.0.3/cppcms-1.0.3.tar.bz2/download >>> >>> >>> >>> >>>________________________________ >>> From: Shiv Shankar Dayal <shi...@gm...> >>>To: Andy <ang...@ya...>; cpp...@li... >>>Sent: Sunday, May 12, 2013 9:17 AM >>>Subject: Re: [Cppcms-users] make error during installation >>> >>> >>> >>>Are you trying svn code or release? >>> >>> >>> >>> >>>On Sun, May 12, 2013 at 6:41 PM, Andy <ang...@ya...> wrote: >>> >>>Hi, >>>> >>>> >>>>I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build >>>> >>>> >>>>Everything worked up to the point of "cmake .." >>>> >>>> >>>>Then I ran "make" and got this error: >>>> >>>> >>>>~/cppcms-1.0.3/build % make >>>> >>>> >>>>[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >>>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: >>>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous >>>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: >>>>In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: >>>>/usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const >>>>/usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const >>>>/usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const >>>>make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >>>>make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >>>>make: *** [all] Error 2 >>>> >>>> >>>>Can anyone help me? Thanks. >>>> >>>>------------------------------------------------------------------------------ >>>>Learn Graph Databases - Download FREE O'Reilly Book >>>>"Graph Databases" is the definitive new guide to graph databases and >>>>their applications. This 200-page book is written by three acclaimed >>>>leaders in the field. The early access version is available now. >>>>Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >>>>_______________________________________________ >>>>Cppcms-users mailing list >>>>Cpp...@li... >>>>https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>> >>>> >>> >>> >>>-- >>>Best regards, >>>Shiv Shankar Dayal >>> >>> >> >> >>-- >>Best regards, >>Shiv Shankar Dayal >> >> > > >-- >Best regards, >Shiv Shankar Dayal > > -- Best regards, Shiv Shankar Dayal |
|
From: Saikumar G. <sai...@gm...> - 2013-05-12 17:43:34
|
>>>It is really strange, does it work for a small files? Yes, less than 20MB is fine. In fact tested multiple file uploads and works beautifully. >>>On what size the failure occurs ? Tried 130MB file and fails consistently. >>>Do you have enough space on the disk (default /tmp)? Yes, /tmp has 30GB free space. >>>Does it work or not with internal web server? I haven't tested with the internal web server. Do want me to test this with internal web server to out rule cppcms issue ? |
|
From: Artyom B. <art...@ya...> - 2013-05-12 17:43:08
|
Yes of course, it is. I'm planning to get a bug fix version soon I have some stuff to fix. Also currently most of my effort goes for the commercial projects that use CppCMS. If you are looking for a specific bugs tell me what bothers and I'll fix it - in generaly. If you need a feature tell me about it and I'll see what can be done. Also patches and help are more than welcome. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Marcel Hellwig <ke...@co...> >To: art...@ya... >Cc: "cpp...@li..." <cpp...@li...> >Sent: Sunday, May 12, 2013 7:59 PM >Subject: [Cppcms-users] cppcms still in development? > > >Hi Artyom, > >are you still developing cppcms? I'm asking this, because you haven't >commited anything since 5 months, and there several tickets to do. >Do you need help? I think you have a great community, that would help you. > >Regards, >Marcel > > > >------------------------------------------------------------------------------ >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and >their applications. This 200-page book is written by three acclaimed >leaders in the field. The early access version is available now. >Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
|
From: Artyom B. <art...@ya...> - 2013-05-12 17:39:02
|
It seems like an old bug with some version of ICU. I'll check. I'm going to release a bug fix version soon 1.0.4 and I'll fix this one as well. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Andy <ang...@ya...> >To: "cpp...@li..." <cpp...@li...> >Sent: Sunday, May 12, 2013 4:11 PM >Subject: [Cppcms-users] make error during installation > > > >Hi, > > >I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build > > >Everything worked up to the point of "cmake .." > > >Then I ran "make" and got this error: > > >~/cppcms-1.0.3/build % make > > >[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: >In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: >/usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const >/usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const >/usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const >make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >make: *** [all] Error 2 > > >Can anyone help me? Thanks. > >------------------------------------------------------------------------------ >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and >their applications. This 200-page book is written by three acclaimed >leaders in the field. The early access version is available now. >Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
|
From: Artyom B. <art...@ya...> - 2013-05-12 17:36:32
|
It is really strange, does it work for a small files? On what size the failure occurs Do you have enough space on the disk (default /tmp)? Does it work or not with internal web server? Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Saikumar Gandapodi <sai...@gm...> >To: cpp...@li... >Sent: Sunday, May 12, 2013 2:24 PM >Subject: Re: [Cppcms-users] Upload large files > > >Artyom, > Here is the output of strace when a large file was sent and also a smaller >file was sent. >Dont know if this will help. >The member function for post method handler is not called. However for >smaller files it does perfectly fine. >What could be the issue ? > >----------- strace when a large file (135MB) is sent --------------- >epoll_wait(8, {{EPOLLIN, {u32=0, u64=0}}}, 128, 3600000) = 1 >epoll_ctl(8, EPOLL_CTL_DEL, 0, {0, {u32=0, u64=0}}) = 0 >accept(0, 0, NULL) = 11 >fcntl(11, F_GETFL) = 0x2 (flags O_RDWR) >fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK) = 0 >readv(11, 0x7fff207f7940, 1) = -1 EAGAIN (Resource temporarily >unavailable) >epoll_ctl(8, EPOLL_CTL_ADD, 11, {EPOLLIN, {u32=11, u64=11}}) = 0 >epoll_ctl(8, EPOLL_CTL_ADD, 0, {EPOLLIN, {u32=0, u64=0}}) = 0 >epoll_wait(8, {{EPOLLIN, {u32=11, u64=11}}}, 128, 3600000) = 1 >epoll_ctl(8, EPOLL_CTL_DEL, 11, {0, {u32=11, u64=11}}) = 0 >readv(11, [{"\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\4N\0\0\17\17SERVER"..., >16384}], 1) = 16384 >epoll_wait(8, {}, 128, 0) = 0 >epoll_wait(8, {}, 128, 0) = 0 >writev(11, [{"\1\6\0\1\0\212\6\0", 8}, {"Content-Type: text/html\r\nStatus:".. >., 138}, {"\0\0\0\0\0\0", 6}], 3) = 152 >epoll_wait(8, {}, 128, 0) = 0 >writev(11, [{"\1\6\0\1\0\0\0\0\1\3\0\1\0\10\0\0\0\0\0\0\0\0\0\0", 24}], 1) = >24 >epoll_wait(8, {}, 128, 0) = 0 >shutdown(11, 2 /* send and receive */) = 0 >shutdown(11, 2 /* send and receive */) = 0 >close(11) = 0 >epoll_wait(8, > > >----------- strace when a small file (1.5mb) is sent --------------- >epoll_wait(8, {{EPOLLIN, {u32=0, u64=0}}}, 128, 3600000) = 1 >epoll_ctl(8, EPOLL_CTL_DEL, 0, {0, {u32=0, u64=0}}) = 0 >accept(0, 0, NULL) = 11 >fcntl(11, F_GETFL) = 0x2 (flags O_RDWR) >fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK) = 0 >readv(11, [{"\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\4K\0\0\17\17SERVER".. >., 16384}], 1) = 16384 >epoll_ctl(8, EPOLL_CTL_ADD, 0, {EPOLLIN, {u32=0, u64=0}}) = 0 >brk(0xca0000) = 0xca0000 >readv(11, [{"R\vf\20+I\302\26\245\260;X\233\277a\345t!\251\f~b\303\371%\234 >\224\332~%pC"..., 50290}], 1) = 50290 >readv(11, [{"\1\5\0\1\377\377\0\0\366\350\261$\335m\376\275\351\234\333O\"e >\276y\375\377\373\322\0\20\0\5"..., 65535}], 1) = 45065 >epoll_wait(8, {}, 128, 0) = 0 >epoll_wait(8, {}, 128, 0) = 0 >readv(11, [{"DB\f%ZpGZ\24\2\300\232R8\277)\316\2464\314\271\313\263\17?\261 >\7\5\240\202R\25"..., 20478}], 1) = 20478 >epoll_wait(8, {}, 128, 0) = 0 >epoll_wait(8, {}, 128, 0) = 0 >epoll_wait(8, {}, 128, 0) = 0 >brk(0xcdc000) = 0xcdc000 >epoll_wait(8, {}, 128, 0) = 0 >readv(11, [{"\1\5\0\1\377\377\0\0\345\217l\257\257>\261]\24Q\366q,t\37z5\17 >\201\354@\264\373\31"..., 65535}], 1) = 65535 >epoll_wait(8, {}, 128, 0) = 0 >epoll_wait(8, {}, 128, 0) = 0 >readv(11, [{"\355U@\213\\\310\245,", 8}], 1) = 8 >epoll_wait(8, {}, 128, 0) = 0 >epoll_wait(8, {}, 128, 0) = 0 >brk(0xd1c000) = 0xd1c000 >open("/dev/urandom", O_RDONLY) = 13 >read(13, "5\251\365')\220\255\0\217\314\3306\\\374\327\260", 16) = 16 >close(13) = 0 >open("/tmp/cppcms_uploads_35a9f5272990ad008fccd8365cfcd7b0.tmp", O_RDWR >|O_CREAT|O_TRUNC, 0666) = 13 >writev(13, [{NULL, 0}, {"ID3\3\0\0\0\0\7vTCON\0\0\0\7\0\0\0Blues\0GEOB\0"..., >1024}], 2) = 1024 >writev(13, [{"", 0}, {"\377\373\322\0\0\0\t\223GDK,2\340\207h\350\211e\206\\ >\16\240\367\37\255<k\211\324\36\343"..., 1024}], 2) = 1024 >MANY writev's happened....... >writev(13, [{"\377\377\373\322\0>\0\17\374\0K\200\0\0\t \200\tp\0\0\1\0\0\1. >\0\0\0 \0\0"..., 8190}, {"\377", 1}], 2) = 8191 >write(13, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377 >\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 1133) >= 1133 >lseek(13, 0, SEEK_SET) = 0 >futex(0xc48534, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xc48530, {FUTEX_OP_SET, 0, >FUTEX_OP_CMP_GT, 1}) = 1 >futex(0xc44d80, FUTEX_WAKE_PRIVATE, 1) = 1 > > >------------------------------------------------------------------------------ >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and >their applications. This 200-page book is written by three acclaimed >leaders in the field. The early access version is available now. >Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
|
From: Shiv S. D. <shi...@gm...> - 2013-05-12 17:16:55
|
The way I see this framework has a very niche area. Unless you are doing serious computing it is not beneficial to use it. People like me who are more on academic side cannot really make use it. That said I must say that it is a very good work. I have very limited knowledge of CppCMS because I once tried to make something like stackoverflow and left in between. If I would have completed then I would have had more knowledge. I will be willing to test it further if people come together and develop it. Also, as a last point http://cppcms.com/wikipp/en/page/contrib#Contributing.the.code documents that we can send patches to Artyom if he is committing as you said. It also documents that you can have a sourceforge account and if you send information about yourself he will give you write access to svn. On Sun, May 12, 2013 at 10:29 PM, Marcel Hellwig <ke...@co...> wrote: > Hi Artyom, > > are you still developing cppcms? I'm asking this, because you haven't > commited anything since 5 months, and there several tickets to do. > Do you need help? I think you have a great community, that would help you. > > Regards, > Marcel > > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Best regards, Shiv Shankar Dayal |
|
From: Marcel H. <ke...@co...> - 2013-05-12 17:00:12
|
Hi Artyom, are you still developing cppcms? I'm asking this, because you haven't commited anything since 5 months, and there several tickets to do. Do you need help? I think you have a great community, that would help you. Regards, Marcel |
|
From: Andy <ang...@ya...> - 2013-05-12 15:05:07
|
I thought ICU is required for cppcms. Would cppcms even run without ICU? Anyway I removed ICU and then reran "cmake .." The weird thing is that it reported that "ICU FOund" even though I removed ICU. % cmake .. CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): CPack.cmake has already been included!! Call Stack (most recent call first): booster/CMakeLists.txt:14 (include) -- Looking for ICU libraries -- ICU Found, building booster locale -- Configuring done -- Generating done -- Build files have been written to: /home/andy/cppcms-1.0.3/build Then I ran "make" and there was an error: % make [ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:10:0: /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.h:15:27: fatal error: unicode/locid.h: No such file or directory compilation terminated. make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 make: *** [all] Error 2 ________________________________ From: Shiv Shankar Dayal <shi...@gm...> To: Andy <ang...@ya...> Sent: Sunday, May 12, 2013 10:42 AM Subject: Re: [Cppcms-users] make error during installation I checked my system and I do not have ICU installed which is needed for localization as you know. If you do not need localization you can temporarily uninstall ICU and build should run fine because it does at least for me. For exact error problem I think Artyom can answer the problem you reported in original mail as I am not the expert of all the internals. :-) On Sun, May 12, 2013 at 7:49 PM, Andy <ang...@ya...> wrote: The CMakeOutput.log is here: http://www.2shared.com/file/hMbiAfcw/CMakeOutput.html > > >The CMakeError.log is here: http://www.2shared.com/file/857e_tr_/CMakeError.html > > >The following is what got output to the terminal when "cmake .." was running: > > > % cmake .. >-- The CXX compiler identification is GNU 4.7.3 >-- Check for working CXX compiler: /usr/bin/c++ >-- Check for working CXX compiler: /usr/bin/c++ -- works >-- Detecting CXX compiler ABI info >-- Detecting CXX compiler ABI info - done >CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): > CPack.cmake has already been included!! >Call Stack (most recent call first): > booster/CMakeLists.txt:14 (include) > > > > >-- Looking for ICU libraries >-- ICU Found, building booster locale >-- Performing Test GCC_IS_GCC4 >-- Performing Test GCC_IS_GCC4 - Success >-- Configuring done >-- Generating done >-- Build files have been written to: /home/andy/cppcms-1.0.3/build > > > > > >________________________________ > From: Shiv Shankar Dayal <shi...@gm...> >To: Andy <ang...@ya...> >Sent: Sunday, May 12, 2013 9:59 AM > >Subject: Re: [Cppcms-users] make error during installation > > > >Can you please paste your cmake log? > > > > >On Sun, May 12, 2013 at 6:55 PM, Andy <ang...@ya...> wrote: > >I downloaded the release from here: >> >> >>http://sourceforge.net/projects/cppcms/files/cppcms/1.0.3/cppcms-1.0.3.tar.bz2/download >> >> >> >> >>________________________________ >> From: Shiv Shankar Dayal <shi...@gm...> >>To: Andy <ang...@ya...>; cpp...@li... >>Sent: Sunday, May 12, 2013 9:17 AM >>Subject: Re: [Cppcms-users] make error during installation >> >> >> >>Are you trying svn code or release? >> >> >> >> >>On Sun, May 12, 2013 at 6:41 PM, Andy <ang...@ya...> wrote: >> >>Hi, >>> >>> >>>I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build >>> >>> >>>Everything worked up to the point of "cmake .." >>> >>> >>>Then I ran "make" and got this error: >>> >>> >>>~/cppcms-1.0.3/build % make >>> >>> >>>[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: >>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous >>>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: >>>In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: >>>/usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const >>>/usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const >>>/usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const >>>make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >>>make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >>>make: *** [all] Error 2 >>> >>> >>>Can anyone help me? Thanks. >>> >>>------------------------------------------------------------------------------ >>>Learn Graph Databases - Download FREE O'Reilly Book >>>"Graph Databases" is the definitive new guide to graph databases and >>>their applications. This 200-page book is written by three acclaimed >>>leaders in the field. The early access version is available now. >>>Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >>>_______________________________________________ >>>Cppcms-users mailing list >>>Cpp...@li... >>>https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >> >> >>-- >>Best regards, >>Shiv Shankar Dayal >> >> > > >-- >Best regards, >Shiv Shankar Dayal > > -- Best regards, Shiv Shankar Dayal |
|
From: Andy <ang...@ya...> - 2013-05-12 14:19:52
|
The CMakeOutput.log is here: http://www.2shared.com/file/hMbiAfcw/CMakeOutput.html The CMakeError.log is here: http://www.2shared.com/file/857e_tr_/CMakeError.html The following is what got output to the terminal when "cmake .." was running: % cmake .. -- The CXX compiler identification is GNU 4.7.3 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done CMake Warning at /usr/share/cmake-2.8/Modules/CPack.cmake:289 (message): CPack.cmake has already been included!! Call Stack (most recent call first): booster/CMakeLists.txt:14 (include) -- Looking for ICU libraries -- ICU Found, building booster locale -- Performing Test GCC_IS_GCC4 -- Performing Test GCC_IS_GCC4 - Success -- Configuring done -- Generating done -- Build files have been written to: /home/andy/cppcms-1.0.3/build ________________________________ From: Shiv Shankar Dayal <shi...@gm...> To: Andy <ang...@ya...> Sent: Sunday, May 12, 2013 9:59 AM Subject: Re: [Cppcms-users] make error during installation Can you please paste your cmake log? On Sun, May 12, 2013 at 6:55 PM, Andy <ang...@ya...> wrote: I downloaded the release from here: > > >http://sourceforge.net/projects/cppcms/files/cppcms/1.0.3/cppcms-1.0.3.tar.bz2/download > > > > >________________________________ > From: Shiv Shankar Dayal <shi...@gm...> >To: Andy <ang...@ya...>; cpp...@li... >Sent: Sunday, May 12, 2013 9:17 AM >Subject: Re: [Cppcms-users] make error during installation > > > >Are you trying svn code or release? > > > > >On Sun, May 12, 2013 at 6:41 PM, Andy <ang...@ya...> wrote: > >Hi, >> >> >>I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build >> >> >>Everything worked up to the point of "cmake .." >> >> >>Then I ran "make" and got this error: >> >> >>~/cppcms-1.0.3/build % make >> >> >>[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: >>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous >>/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: >>In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: >>/usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const >>/usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const >>/usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const >>make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >>make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >>make: *** [all] Error 2 >> >> >>Can anyone help me? Thanks. >> >>------------------------------------------------------------------------------ >>Learn Graph Databases - Download FREE O'Reilly Book >>"Graph Databases" is the definitive new guide to graph databases and >>their applications. This 200-page book is written by three acclaimed >>leaders in the field. The early access version is available now. >>Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >>_______________________________________________ >>Cppcms-users mailing list >>Cpp...@li... >>https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > >-- >Best regards, >Shiv Shankar Dayal > > -- Best regards, Shiv Shankar Dayal |
|
From: Andy <ang...@ya...> - 2013-05-12 13:25:20
|
I downloaded the release from here: http://sourceforge.net/projects/cppcms/files/cppcms/1.0.3/cppcms-1.0.3.tar.bz2/download ________________________________ From: Shiv Shankar Dayal <shi...@gm...> To: Andy <ang...@ya...>; cpp...@li... Sent: Sunday, May 12, 2013 9:17 AM Subject: Re: [Cppcms-users] make error during installation Are you trying svn code or release? On Sun, May 12, 2013 at 6:41 PM, Andy <ang...@ya...> wrote: Hi, > > >I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build > > >Everything worked up to the point of "cmake .." > > >Then I ran "make" and got this error: > > >~/cppcms-1.0.3/build % make > > >[ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous >/home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: >In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: >/usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const >/usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const >/usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const >make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 >make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 >make: *** [all] Error 2 > > >Can anyone help me? Thanks. > >------------------------------------------------------------------------------ >Learn Graph Databases - Download FREE O'Reilly Book >"Graph Databases" is the definitive new guide to graph databases and >their applications. This 200-page book is written by three acclaimed >leaders in the field. The early access version is available now. >Download your free book today! http://p.sf.net/sfu/neotech_d2d_may >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Best regards, Shiv Shankar Dayal |
|
From: Shiv S. D. <shi...@gm...> - 2013-05-12 13:17:27
|
Are you trying svn code or release? On Sun, May 12, 2013 at 6:41 PM, Andy <ang...@ya...> wrote: > Hi, > > I'm tried to install cppcms. I follow the instructions in > http://cppcms.com/wikipp/en/page/cppcms_1x_build > > Everything worked up to the point of "cmake .." > > Then I ran "make" and got this error: > > ~/cppcms-1.0.3/build % make > > [ 1%] Building CXX object > booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o > /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In > member function ‘virtual > booster::locale::impl_icu::number_format<CharType>::string_type > booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, > size_t&) const’: > /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: > error: call of overloaded ‘format(booster::int64_t&, > icu_48::UnicodeString&)’ is ambiguous > /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: > note: candidates are: > In file included from > /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: > /usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& > icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const > /usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& > icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const > /usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& > icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const > make[2]: *** > [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 > make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 > make: *** [all] Error 2 > > Can anyone help me? Thanks. > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > -- Best regards, Shiv Shankar Dayal |
|
From: Andy <ang...@ya...> - 2013-05-12 13:11:41
|
Hi, I'm tried to install cppcms. I follow the instructions in http://cppcms.com/wikipp/en/page/cppcms_1x_build Everything worked up to the point of "cmake .." Then I ran "make" and got this error: ~/cppcms-1.0.3/build % make [ 1%] Building CXX object booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp: In member function ‘virtual booster::locale::impl_icu::number_format<CharType>::string_type booster::locale::impl_icu::number_format<CharType>::format(booster::int64_t, size_t&) const’: /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: error: call of overloaded ‘format(booster::int64_t&, icu_48::UnicodeString&)’ is ambiguous /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:61:43: note: candidates are: In file included from /home/andy/cppcms-1.0.3/booster/lib/locale/src/icu/formatter.cpp:15:0: /usr/include/unicode/numfmt.h:301:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(double, icu_48::UnicodeString&) const /usr/include/unicode/numfmt.h:314:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int32_t, icu_48::UnicodeString&) const /usr/include/unicode/numfmt.h:327:20: note: icu_48::UnicodeString& icu_48::NumberFormat::format(int64_t, icu_48::UnicodeString&) const make[2]: *** [booster/CMakeFiles/booster.dir/lib/locale/src/icu/formatter.cpp.o] Error 1 make[1]: *** [booster/CMakeFiles/booster.dir/all] Error 2 make: *** [all] Error 2 Can anyone help me? Thanks. |
|
From: Shiv S. D. <shi...@gm...> - 2013-05-12 12:02:01
|
If I look closely near following there are differences. readv is not
happening but shutdown comes.
epoll_wait(8, {}, 128, 0) = 0
shutdown(11, 2 /* send and receive */) = 0
On Sun, May 12, 2013 at 5:29 PM, Shiv Shankar Dayal <
shi...@gm...> wrote:
> I will have to create a test situation to actually simulate that.
>
>
> writev(11, [{"\1\6\0\1\0\212\6\0", 8}, {"Content-Type:
> text/html\r\nStatus:"..
> ., 138}, {"\0\0\0\0\0\0", 6}], 3) = 152
>
> Value of status would have helped.
>
>
> On Sun, May 12, 2013 at 5:23 PM, Saikumar Gandapodi <sai...@gm...>wrote:
>
>> No clue what that resource would mean.
>> But if you notice the readv succeeds after that.
>> >>> readv(11, [{"\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\4N\0\0\1
>> 7\17SERVER"..., 16384}], 1) = 16384
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> _______________________________________________
>> Cppcms-users mailing list
>> Cpp...@li...
>> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>>
>
>
>
> --
> Best regards,
> Shiv Shankar Dayal
>
--
Best regards,
Shiv Shankar Dayal
|
|
From: Shiv S. D. <shi...@gm...> - 2013-05-12 11:59:19
|
I will have to create a test situation to actually simulate that.
writev(11, [{"\1\6\0\1\0\212\6\0", 8}, {"Content-Type:
text/html\r\nStatus:"..
., 138}, {"\0\0\0\0\0\0", 6}], 3) = 152
Value of status would have helped.
On Sun, May 12, 2013 at 5:23 PM, Saikumar Gandapodi <sai...@gm...>wrote:
> No clue what that resource would mean.
> But if you notice the readv succeeds after that.
> >>> readv(11, [{"\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\4N\0\0\1
> 7\17SERVER"..., 16384}], 1) = 16384
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
--
Best regards,
Shiv Shankar Dayal
|
|
From: Saikumar G. <sai...@gm...> - 2013-05-12 11:54:16
|
No clue what that resource would mean.
But if you notice the readv succeeds after that.
>>> readv(11, [{"\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\4N\0\0\1
7\17SERVER"..., 16384}], 1) = 16384
|
|
From: Shiv S. D. <shi...@gm...> - 2013-05-12 11:34:30
|
readv(11, 0x7fff207f7940, 1) = -1 EAGAIN (Resource temporarily
unavailable)
That is one thing I can apparently see.
On Sun, May 12, 2013 at 4:54 PM, Saikumar Gandapodi <sai...@gm...>wrote:
> Artyom,
> Here is the output of strace when a large file was sent and also a
> smaller
> file was sent.
> Dont know if this will help.
> The member function for post method handler is not called. However for
> smaller files it does perfectly fine.
> What could be the issue ?
>
> ----------- strace when a large file (135MB) is sent ---------------
> epoll_wait(8, {{EPOLLIN, {u32=0, u64=0}}}, 128, 3600000) = 1
> epoll_ctl(8, EPOLL_CTL_DEL, 0, {0, {u32=0, u64=0}}) = 0
> accept(0, 0, NULL) = 11
> fcntl(11, F_GETFL) = 0x2 (flags O_RDWR)
> fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK) = 0
> readv(11, 0x7fff207f7940, 1) = -1 EAGAIN (Resource temporarily
> unavailable)
> epoll_ctl(8, EPOLL_CTL_ADD, 11, {EPOLLIN, {u32=11, u64=11}}) = 0
> epoll_ctl(8, EPOLL_CTL_ADD, 0, {EPOLLIN, {u32=0, u64=0}}) = 0
> epoll_wait(8, {{EPOLLIN, {u32=11, u64=11}}}, 128, 3600000) = 1
> epoll_ctl(8, EPOLL_CTL_DEL, 11, {0, {u32=11, u64=11}}) = 0
> readv(11,
> [{"\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\4N\0\0\17\17SERVER"...,
> 16384}], 1) = 16384
> epoll_wait(8, {}, 128, 0) = 0
> epoll_wait(8, {}, 128, 0) = 0
> writev(11, [{"\1\6\0\1\0\212\6\0", 8}, {"Content-Type:
> text/html\r\nStatus:"..
> ., 138}, {"\0\0\0\0\0\0", 6}], 3) = 152
> epoll_wait(8, {}, 128, 0) = 0
> writev(11, [{"\1\6\0\1\0\0\0\0\1\3\0\1\0\10\0\0\0\0\0\0\0\0\0\0", 24}], 1)
> =
> 24
> epoll_wait(8, {}, 128, 0) = 0
> shutdown(11, 2 /* send and receive */) = 0
> shutdown(11, 2 /* send and receive */) = 0
> close(11) = 0
> epoll_wait(8,
>
>
> ----------- strace when a small file (1.5mb) is sent ---------------
> epoll_wait(8, {{EPOLLIN, {u32=0, u64=0}}}, 128, 3600000) = 1
> epoll_ctl(8, EPOLL_CTL_DEL, 0, {0, {u32=0, u64=0}}) = 0
> accept(0, 0, NULL) = 11
> fcntl(11, F_GETFL) = 0x2 (flags O_RDWR)
> fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK) = 0
> readv(11,
> [{"\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\4K\0\0\17\17SERVER"..
> ., 16384}], 1) = 16384
> epoll_ctl(8, EPOLL_CTL_ADD, 0, {EPOLLIN, {u32=0, u64=0}}) = 0
> brk(0xca0000) = 0xca0000
> readv(11, [{"R\vf\20+I\302\26\245\260;X\233\277a\345t!\251\f~b\303\371%\234
> \224\332~%pC"..., 50290}], 1) = 50290
> readv(11, [{"\1\5\0\1\377\377\0\0\366\350\261$\335m\376\275\351\234\333O\"e
> \276y\375\377\373\322\0\20\0\5"..., 65535}], 1) = 45065
> epoll_wait(8, {}, 128, 0) = 0
> epoll_wait(8, {}, 128, 0) = 0
> readv(11, [{"DB\f%ZpGZ\24\2\300\232R8\277)\316\2464\314\271\313\263\17?\261
> \7\5\240\202R\25"..., 20478}], 1) = 20478
> epoll_wait(8, {}, 128, 0) = 0
> epoll_wait(8, {}, 128, 0) = 0
> epoll_wait(8, {}, 128, 0) = 0
> brk(0xcdc000) = 0xcdc000
> epoll_wait(8, {}, 128, 0) = 0
> readv(11, [{"\1\5\0\1\377\377\0\0\345\217l\257\257>\261]\24Q\366q,t\37z5\17
> \201\354@\264\373\31"..., 65535}], 1) = 65535
> epoll_wait(8, {}, 128, 0) = 0
> epoll_wait(8, {}, 128, 0) = 0
> readv(11, [{"\355U@\213\\\310\245,", 8}], 1) = 8
> epoll_wait(8, {}, 128, 0) = 0
> epoll_wait(8, {}, 128, 0) = 0
> brk(0xd1c000) = 0xd1c000
> open("/dev/urandom", O_RDONLY) = 13
> read(13, "5\251\365')\220\255\0\217\314\3306\\\374\327\260", 16) = 16
> close(13) = 0
> open("/tmp/cppcms_uploads_35a9f5272990ad008fccd8365cfcd7b0.tmp", O_RDWR
> |O_CREAT|O_TRUNC, 0666) = 13
> writev(13, [{NULL, 0},
> {"ID3\3\0\0\0\0\7vTCON\0\0\0\7\0\0\0Blues\0GEOB\0"...,
> 1024}], 2) = 1024
> writev(13, [{"", 0},
> {"\377\373\322\0\0\0\t\223GDK,2\340\207h\350\211e\206\\
> \16\240\367\37\255<k\211\324\36\343"..., 1024}], 2) = 1024
> MANY writev's happened.......
> writev(13, [{"\377\377\373\322\0>\0\17\374\0K\200\0\0\t
> \200\tp\0\0\1\0\0\1.
> \0\0\0 \0\0"..., 8190}, {"\377", 1}], 2) = 8191
> write(13, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377
> \377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 1133)
> = 1133
> lseek(13, 0, SEEK_SET) = 0
> futex(0xc48534, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xc48530, {FUTEX_OP_SET, 0,
> FUTEX_OP_CMP_GT, 1}) = 1
> futex(0xc44d80, FUTEX_WAKE_PRIVATE, 1) = 1
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
--
Best regards,
Shiv Shankar Dayal
|
|
From: Saikumar G. <sai...@gm...> - 2013-05-12 11:25:07
|
Artyom,
Here is the output of strace when a large file was sent and also a smaller
file was sent.
Dont know if this will help.
The member function for post method handler is not called. However for
smaller files it does perfectly fine.
What could be the issue ?
----------- strace when a large file (135MB) is sent ---------------
epoll_wait(8, {{EPOLLIN, {u32=0, u64=0}}}, 128, 3600000) = 1
epoll_ctl(8, EPOLL_CTL_DEL, 0, {0, {u32=0, u64=0}}) = 0
accept(0, 0, NULL) = 11
fcntl(11, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK) = 0
readv(11, 0x7fff207f7940, 1) = -1 EAGAIN (Resource temporarily
unavailable)
epoll_ctl(8, EPOLL_CTL_ADD, 11, {EPOLLIN, {u32=11, u64=11}}) = 0
epoll_ctl(8, EPOLL_CTL_ADD, 0, {EPOLLIN, {u32=0, u64=0}}) = 0
epoll_wait(8, {{EPOLLIN, {u32=11, u64=11}}}, 128, 3600000) = 1
epoll_ctl(8, EPOLL_CTL_DEL, 11, {0, {u32=11, u64=11}}) = 0
readv(11, [{"\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\4N\0\0\17\17SERVER"...,
16384}], 1) = 16384
epoll_wait(8, {}, 128, 0) = 0
epoll_wait(8, {}, 128, 0) = 0
writev(11, [{"\1\6\0\1\0\212\6\0", 8}, {"Content-Type: text/html\r\nStatus:"..
., 138}, {"\0\0\0\0\0\0", 6}], 3) = 152
epoll_wait(8, {}, 128, 0) = 0
writev(11, [{"\1\6\0\1\0\0\0\0\1\3\0\1\0\10\0\0\0\0\0\0\0\0\0\0", 24}], 1) =
24
epoll_wait(8, {}, 128, 0) = 0
shutdown(11, 2 /* send and receive */) = 0
shutdown(11, 2 /* send and receive */) = 0
close(11) = 0
epoll_wait(8,
----------- strace when a small file (1.5mb) is sent ---------------
epoll_wait(8, {{EPOLLIN, {u32=0, u64=0}}}, 128, 3600000) = 1
epoll_ctl(8, EPOLL_CTL_DEL, 0, {0, {u32=0, u64=0}}) = 0
accept(0, 0, NULL) = 11
fcntl(11, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK) = 0
readv(11, [{"\1\1\0\1\0\10\0\0\0\1\0\0\0\0\0\0\1\4\0\1\4K\0\0\17\17SERVER"..
., 16384}], 1) = 16384
epoll_ctl(8, EPOLL_CTL_ADD, 0, {EPOLLIN, {u32=0, u64=0}}) = 0
brk(0xca0000) = 0xca0000
readv(11, [{"R\vf\20+I\302\26\245\260;X\233\277a\345t!\251\f~b\303\371%\234
\224\332~%pC"..., 50290}], 1) = 50290
readv(11, [{"\1\5\0\1\377\377\0\0\366\350\261$\335m\376\275\351\234\333O\"e
\276y\375\377\373\322\0\20\0\5"..., 65535}], 1) = 45065
epoll_wait(8, {}, 128, 0) = 0
epoll_wait(8, {}, 128, 0) = 0
readv(11, [{"DB\f%ZpGZ\24\2\300\232R8\277)\316\2464\314\271\313\263\17?\261
\7\5\240\202R\25"..., 20478}], 1) = 20478
epoll_wait(8, {}, 128, 0) = 0
epoll_wait(8, {}, 128, 0) = 0
epoll_wait(8, {}, 128, 0) = 0
brk(0xcdc000) = 0xcdc000
epoll_wait(8, {}, 128, 0) = 0
readv(11, [{"\1\5\0\1\377\377\0\0\345\217l\257\257>\261]\24Q\366q,t\37z5\17
\201\354@\264\373\31"..., 65535}], 1) = 65535
epoll_wait(8, {}, 128, 0) = 0
epoll_wait(8, {}, 128, 0) = 0
readv(11, [{"\355U@\213\\\310\245,", 8}], 1) = 8
epoll_wait(8, {}, 128, 0) = 0
epoll_wait(8, {}, 128, 0) = 0
brk(0xd1c000) = 0xd1c000
open("/dev/urandom", O_RDONLY) = 13
read(13, "5\251\365')\220\255\0\217\314\3306\\\374\327\260", 16) = 16
close(13) = 0
open("/tmp/cppcms_uploads_35a9f5272990ad008fccd8365cfcd7b0.tmp", O_RDWR
|O_CREAT|O_TRUNC, 0666) = 13
writev(13, [{NULL, 0}, {"ID3\3\0\0\0\0\7vTCON\0\0\0\7\0\0\0Blues\0GEOB\0"...,
1024}], 2) = 1024
writev(13, [{"", 0}, {"\377\373\322\0\0\0\t\223GDK,2\340\207h\350\211e\206\\
\16\240\367\37\255<k\211\324\36\343"..., 1024}], 2) = 1024
MANY writev's happened.......
writev(13, [{"\377\377\373\322\0>\0\17\374\0K\200\0\0\t \200\tp\0\0\1\0\0\1.
\0\0\0 \0\0"..., 8190}, {"\377", 1}], 2) = 8191
write(13, "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377
\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377"..., 1133)
= 1133
lseek(13, 0, SEEK_SET) = 0
futex(0xc48534, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xc48530, {FUTEX_OP_SET, 0,
FUTEX_OP_CMP_GT, 1}) = 1
futex(0xc44d80, FUTEX_WAKE_PRIVATE, 1) = 1
|
|
From: Marcel H. <ke...@co...> - 2013-05-10 18:00:52
|
how about: https://lists.sourceforge.net/lists/listinfo/cppcms-users ? |
|
From: Lawiskas La <la....@ya...> - 2013-05-10 15:52:21
|
la....@ya... |
|
From: Saikumar G. <sai...@gm...> - 2013-05-09 22:05:26
|
We cannot expect every user to use ftp or scp to transfer files. See for example youtube, yousendit or wetransfer. Such sites are doing it. Thanks. |
|
From: Marcel H. <ke...@co...> - 2013-05-09 21:48:16
|
On 09.05.2013 20:19, Saikumar Gandapodi wrote:
> We are unable to upload large files. Small files (even multiple files) work
> perfectly well.
> I am trying to upload a 130MB file.
> Our requirement is to upload upto 2GB of data.
I don't think that HTTP is a good protocoll for transfering 2GB of data
to the server. Maybe use another protocoll like ftp/ssh?
Maybe you can create via the webinterface a temporary ssh/ftp access and
upload the data. 2GB are a lot of data and HTTP can't continue its
aborted connections.
> 1. Lighttpd is used as the webserver. There is no config settings at the
> lighttpd.conf file to limit the upload size.
> The line for server.max-request-size is commented out hoping the default
> lighttpd limit is used ( 2GB ).
>
> 2. The size limit in cppcms is set to 2GB.
> "security" : {
> "multipart_form_data_limit" : "2097152"
> },
>
> 3. Getting the following error in lighttpd error.log when a large file
> completes upload from the client.
> 2013-05-09 13:40:34: (mod_fastcgi.c.3068) connection was dropped after
> accept() (perhaps the fastcgi process died), write-offset: 66687
> socket: unix:/tmp/hello-fcgi-socket-0
>
> 4. At the client I am using YUI uploader to upload.
>
> Anything else I am doing wrong ?
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
|
|
From: Saikumar G. <sai...@gm...> - 2013-05-09 18:19:31
|
We are unable to upload large files. Small files (even multiple files) work
perfectly well.
I am trying to upload a 130MB file.
Our requirement is to upload upto 2GB of data.
1. Lighttpd is used as the webserver. There is no config settings at the
lighttpd.conf file to limit the upload size.
The line for server.max-request-size is commented out hoping the default
lighttpd limit is used ( 2GB ).
2. The size limit in cppcms is set to 2GB.
"security" : {
"multipart_form_data_limit" : "2097152"
},
3. Getting the following error in lighttpd error.log when a large file
completes upload from the client.
2013-05-09 13:40:34: (mod_fastcgi.c.3068) connection was dropped after
accept() (perhaps the fastcgi process died), write-offset: 66687
socket: unix:/tmp/hello-fcgi-socket-0
4. At the client I am using YUI uploader to upload.
Anything else I am doing wrong ?
|
|
From: Lee E. <lee...@gm...> - 2013-05-08 14:37:12
|
if you look here: http://cppcms.com/cppcms_ref/latest/classcppcms_1_1session__interface.html#aa0f2443a9fb6a791f1cce35d03fdbd93 you will see that normally you should not call session.save at all - it starts to be usable only if you decide to build your own session storage - and in that case, you will control what the save actually does On Wed, May 8, 2013 at 3:23 PM, SIMON Allan <All...@su...> wrote: > Hello > > It seems to me that one can't used session().save() two times during > the generation of one HTTP answer, > i.e the second information is going to be ignored > > > session()["message"] = "bla"; > session().save() ; > session()["username"] = "foo"; > session().save(); > > Is it wanted? If yes, can the documentation be updated about this side > effect ? > > http://cppcms.com/cppcms_ref/latest/classcppcms_1_1session__api.html#a9388c15001d0e55d31b6d54c9a1edca0 > > Thank you. > > Regards, > > Allan SIMON > Tatoeba Administrator (Sysko) > > > > > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > -- -- lee Lee Elenbaas lee...@gm... |
|
From: SIMON A. <All...@su...> - 2013-05-08 12:39:23
|
Hello It seems to me that one can't used session().save() two times during the generation of one HTTP answer, i.e the second information is going to be ignored session()["message"] = "bla"; session().save() ; session()["username"] = "foo"; session().save(); Is it wanted? If yes, can the documentation be updated about this side effect ? http://cppcms.com/cppcms_ref/latest/classcppcms_1_1session__api.html#a9388c15001d0e55d31b6d54c9a1edca0 Thank you. Regards, Allan SIMON Tatoeba Administrator (Sysko) |