Bitcoin Forum
May 25, 2024, 11:37:42 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 [45] 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 ... 138 »
881  Economy / Service Announcements / Re: CoinURL sold to the new owner on: January 23, 2013, 10:42:21 PM
Just realized I had taken the command of showing the memcached stats there from a site and it was for the "settings".. here's the more complete output:

Code:
STAT pid 3974
STAT uptime 11070
STAT time 1358980432
STAT version 1.4.13
STAT libevent 2.0.16-stable
STAT pointer_size 64
STAT rusage_user 1.021844
STAT rusage_system 2.870563
STAT curr_connections 5
STAT total_connections 2747
STAT connection_structures 8
STAT reserved_fds 20
STAT cmd_get 48640
STAT cmd_set 15223
STAT cmd_flush 0
STAT cmd_touch 0
STAT get_hits 37446
STAT get_misses 11194
STAT delete_misses 0
STAT delete_hits 2
STAT incr_misses 4
STAT incr_hits 19
STAT decr_misses 0
STAT decr_hits 0
STAT cas_misses 0
STAT cas_hits 0
STAT cas_badval 0
STAT touch_hits 0
STAT touch_misses 0
STAT auth_cmds 0
STAT auth_errors 0
STAT bytes_read 55522928
STAT bytes_written 191612404
STAT limit_maxbytes 268435456
STAT accepting_conns 1
STAT listen_disabled_num 0
STAT threads 4
STAT conn_yields 0
STAT hash_power_level 16
STAT hash_bytes 524288
STAT hash_is_expanding 0
STAT expired_unfetched 1425
STAT evicted_unfetched 0
STAT bytes 7287761
STAT curr_items 5475
STAT total_items 15242
STAT evictions 0
STAT reclaimed 1884

So maybe memcached is in fact working.  Wow.  But it's still only 100-300 kb/s load where we can handle 6 MB/s+.

Found this page:

http://serverfault.com/questions/357799/improving-tcp-performance-over-a-gigabit-network-with-lots-of-connections-and-hi

He has a very customized /etc/sysctl.conf ...  I have never even looked at that before.

My (default) sysctl.conf:

Code:
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables
# See sysctl.conf (5) for information.
#

#kernel.domainname = example.com

# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3

##############################################################3
# Functions previously found in netbase
#

# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
#net.ipv4.conf.default.rp_filter=1
#net.ipv4.conf.all.rp_filter=1

# Uncomment the next line to enable TCP/IP SYN cookies
# See http://lwn.net/Articles/277146/
# Note: This may impact IPv6 TCP sessions too
#net.ipv4.tcp_syncookies=1

# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1

# Uncomment the next line to enable packet forwarding for IPv6
#  Enabling this option disables Stateless Address Autoconfiguration
#  based on Router Advertisements for this host
#net.ipv6.conf.all.forwarding=1


###################################################################
# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
#
# Do not accept ICMP redirects (prevent MITM attacks)
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net.ipv4.conf.all.secure_redirects = 1
#
# Do not send ICMP redirects (we are not a router)
#net.ipv4.conf.all.send_redirects = 0
#
# Do not accept IP source route packets (we are not a router)
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_source_route = 0
#
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
#

It seems like the whole file is commented out.  And the guy in the article says he can handle 50,000 connections with his conf.  I'm going to try playing around with that, and apache and php could probably use some tweaking.  I think that's all I can really do. 
882  Economy / Service Announcements / Re: CoinURL sold to the new owner on: January 23, 2013, 10:13:31 PM
Wow there is a lot of text there. I just like to report the site is up but my ad slot is timing out (http://coinurl.com/get.php?id=2572 ). If this is known (intentionally disabled or something) ignore this message.

We're trying to make it happen.  The server is just going bananas and it looks like it should be working but it's not. 

Server load is like bandwidth is @ 2%, CPU at 2%, memory free and everything is beyond crawling. 

Memcache will increase the power tremendously if we can get it working.  It's "working" but not doing anything with the site.
normal, u have to develop the site for memcached, u cant just install memcached and everything is done.

There is one file that is memcached-enabled, the one that does the banner-ads.  So, my theory on why no one can see any ads being served, is because the site is trying to load them into memcached and it's not working. 
883  Economy / Service Announcements / Re: CoinURL sold to the new owner on: January 23, 2013, 08:49:31 PM
Wow there is a lot of text there. I just like to report the site is up but my ad slot is timing out (http://coinurl.com/get.php?id=2572 ). If this is known (intentionally disabled or something) ignore this message.

We're trying to make it happen.  The server is just going bananas and it looks like it should be working but it's not. 

Server load is like bandwidth is @ 2%, CPU at 2%, memory free and everything is beyond crawling. 

Memcache will increase the power tremendously if we can get it working.  It's "working" but not doing anything with the site.
884  Economy / Service Announcements / Re: CoinURL sold to the new owner on: January 23, 2013, 08:03:45 PM
errrmmm, are you aware that memcache and memcached are 2 different implementations of the same thing? Maybe your problem lies in that little detail?


Probably..

# ps aux | grep memcache
memcache   675  0.0  1.1 354784 23572 ?        Sl   22:27   0:00 /usr/bin/memcached -m 256 -p 11211 -u memcache -l 127.0.0.1

so my process is called memcache and the file it's running is called mecached...  I has the right one? 
wrong, first row is the username of the process (since u specified u as parameter) and u use memcached

I realized that when I was looking in the memcached conf and it showed the memcached default user is memcache.  you must have posted that the exact time I edited the post lmao.

errrmmm, are you aware that memcache and memcached are 2 different implementations of the same thing? Maybe your problem lies in that little detail?


Probably..

# ps aux | grep memcache
memcache   675  0.0  1.1 354784 23572 ?        Sl   22:27   0:00 /usr/bin/memcached -m 256 -p 11211 -u memcache -l 127.0.0.1

so my process is called memcache and the file it's running is called mecached...  I has the right one? 
wrong, first row is the username of the process (since u specified u as parameter) and u use memcached

It seems to be working fine, no problem there. Now you can ask giandragon to take a look at it, and see if it needs some last code tweaks. If it all works, you should be able withstand a great deal of traffic with a low end VPS just fine.

Yeah maybe it's in the codes.  And if a low-end VPS can do it, this mid-end VPS should be able to dominate and I'm going to keep begging my boss to let me leave my dual-quad-771 xeon box at the datacenter so the site can have unlimited power.
885  Economy / Service Announcements / Re: CoinURL sold to the new owner on: January 23, 2013, 06:57:44 PM
Code:
# echo "stats settings" | nc localhost 11211
STAT maxbytes 268435456
STAT maxconns 1024
STAT tcpport 11211
STAT udpport 11211
STAT inter 127.0.0.1
STAT verbosity 0
STAT oldest 0
STAT evictions on
STAT domain_socket NULL
STAT umask 700
STAT growth_factor 1.25
STAT chunk_size 48
STAT num_threads 4
STAT num_threads_per_udp 4
STAT stat_key_prefix :
STAT detail_enabled no
STAT reqs_per_event 20
STAT cas_enabled yes
STAT tcp_backlog 1024
STAT binding_protocol auto-negotiate
STAT auth_enabled_sasl no
STAT item_size_max 1048576
STAT maxconns_fast no
STAT hashpower_init 0
STAT slab_reassign no
STAT slab_automove no
END

Compared to the output on this page:

http://stackoverflow.com/questions/631903/how-do-you-know-if-memcached-is-doing-anything

it doesn't look like mine is really doing much.
886  Economy / Service Announcements / Re: CoinURL sold to the new owner on: January 23, 2013, 06:55:08 PM
errrmmm, are you aware that memcache and memcached are 2 different implementations of the same thing? Maybe your problem lies in that little detail?


Probably..

# ps aux | grep memcache
memcache   675  0.0  1.1 354784 23572 ?        Sl   22:27   0:00 /usr/bin/memcached -m 256 -p 11211 -u memcache -l 127.0.0.1

so my process is called memcache and the file it's running is called mecached...  I has the right one?   edit: memcache is the user memcached was running as i have discovered
887  Economy / Service Announcements / Re: CoinURL sold to the new owner on: January 23, 2013, 06:23:45 PM
You messed up the links somewhere. The ad Stats link on the dropdown sends you here instead: https://http//coinurl.bitcointrading.com//stats-banner.php?id=400



k that should be fixed.  I fixed it to point at coinurl.com last night I guess I fixed my offline copy lmao.  I don't know why the double http's are on there, that might be because the .bitcointrading didn't have the SSL redirect.

...

Nice to hear that, don't forget about memcached! It reduces the server load around 45-50%.

https://bitcointalk.org/index.php?topic=78793.msg1316680#msg1316680

Already got memcached in there, but maybe it's not configured properly?

Found this last night -> http://php.net/manual/en/book.apc.php

Wonder if that will help?


Allright!

Code:
memcached-tool 127.0.0.1:11211 stats

But to be sure here are some tricks:

http://stackoverflow.com/questions/631903/how-do-you-know-if-memcached-is-doing-anything

It was implemented already by giantdragon at coinurls's code level, so it should work right away.

Weird, memcached-tool doesn't respond from the command line like a global app.  Either it's not in there or I need to go to the memcache directory to use it.  I'll poke around, but I have "memcached" and "php5-memcached" in there..
888  Economy / Service Announcements / Re: CoinURL sold to the new owner on: January 23, 2013, 05:43:49 PM
So is there any reason why the server(s) handling ads needs to be the same one handling campaign management?

Good point, I was actually pondering this on my way to work.  I have a hosting package through Bravenet that is good until 2014, and as you can see I moved bitcointrading.com there last night, and it's like ridiculously fast now, so if I could move the campaign management files there, might be a good idea.


So when the site is running, and everyone requests withdrawls at once...  Be realistic.  Site is starting up with no funds and we have to work together on this one.  If you have a balance, use it for advertising like you had originally intended.  Publishers, I think I can handle the amounts that you are likely to be receiving.  I know with CoinURL I had the banners up for the whole 6 months, I got like a half million pageviews and I only netted like 0.20 BTC.

Epic. Just...epic.

25% fee for withdrawal is even more epic!! i tried to withdar 0.1 BTC today. 0.075 are in the queue now. but the real bitcoin transaction hasnt started yet Sad

Dude, the 25% fee was on CoinURL since the beginning.  I haven't changed anything.  In fact, I'll be more likely to eliminate the fee than anything, quit your bitching.  Even see this thread -> https://bitcointalk.org/index.php?topic=129632.0

Ya, the 25% thing always seemed pretty ridiculous to me. Especially since most bitcoin sites seme to have a theme of really low percentages on any fees. Id expect like 1 or 2%, even 5% would be fine. not a quarter of your whole earnings.. just sayin

Yeah 25% is insane, especially when it's not very clear beforehands. 

I have configured CoinURL on the mc_lovin's server and it is ready to run right after DNS will be rewritten.

CoinURL will be up before you know it.  Waiting on the slow registrars to do their thing with the transfer.

cur.lv links are working.

I noticed the server started to dance a little bit with the extra load, and I doubled the memory and added a 3rd CPU core, I'll increase it further if need be, but I think it should be pretty spunky as is.  Tuning PHP and MySQL will probably go a long way too. 

Sorry for the delay!



Nice to hear that, don't forget about memcached! It reduces the server load around 45-50%.

https://bitcointalk.org/index.php?topic=78793.msg1316680#msg1316680

Already got memcached in there, but maybe it's not configured properly?

Found this last night -> http://php.net/manual/en/book.apc.php

Wonder if that will help?
889  Economy / Service Announcements / Re: CoinURL sold to the new owner on: January 23, 2013, 04:02:03 PM

So when the site is running, and everyone requests withdrawls at once...  Be realistic.  Site is starting up with no funds and we have to work together on this one.  If you have a balance, use it for advertising like you had originally intended.  Publishers, I think I can handle the amounts that you are likely to be receiving.  I know with CoinURL I had the banners up for the whole 6 months, I got like a half million pageviews and I only netted like 0.20 BTC.

Epic. Just...epic.

25% fee for withdrawal is even more epic!! i tried to withdar 0.1 BTC today. 0.075 are in the queue now. but the real bitcoin transaction hasnt started yet Sad

Dude, the 25% fee was on CoinURL since the beginning.  I haven't changed anything.  In fact, I'll be more likely to eliminate the fee than anything, quit your bitching.  Even see this thread -> https://bitcointalk.org/index.php?topic=129632.0
890  Economy / Service Announcements / Re: CoinURL sold to the new owner on: January 23, 2013, 11:16:18 AM
Good news is that CoinURL is working

Bad news is that the server just tanked despite my efforts to soup it up.  I dont even see what the bottleneck is.  I know it is some configuration that needs to be changed, standard LAMP setup is just crumbling under load. 

Moving BitcoinTrading to another host temporarily.

CoinURL can have the VPS and just eat it for the next day. 

If someone can help me tune the VPS to handle the load, I'm all ears!  Please!  GEEEEBUSSSS I thought I was being DDOS'd.   It's nuts.
891  Economy / Service Announcements / Re: CoinURL sold to the new owner on: January 23, 2013, 09:07:44 AM
I have configured CoinURL on the mc_lovin's server and it is ready to run right after DNS will be rewritten.

CoinURL will be up before you know it.  Waiting on the slow registrars to do their thing with the transfer.

cur.lv links are working.

I noticed the server started to dance a little bit with the extra load, and I doubled the memory and added a 3rd CPU core, I'll increase it further if need be, but I think it should be pretty spunky as is.  Tuning PHP and MySQL will probably go a long way too. 

Sorry for the delay!

892  Economy / Services / Re: BitcoinAdSmart: Bitcoin Advertising Network on: January 23, 2013, 03:07:31 AM
Welcome to the club Cheesy
893  Economy / Service Discussion / Re: MTGox is apparently out of money... on: January 22, 2013, 06:01:44 AM
I agree they probably only keep a minimal amount of money on Dwolla.  Seeing as how Tradehill was suing Dwolla over holding funds (or something), I bet Mt. Gox only keeps a minimal amount in there.  Probably about the same amount you have withdrawn.

And seeing as how it takes like a week or so to move USD in and out of exchanges, they would probably have to take money out specifically for a large withdrawal. 

I think $4k to them is pocketchange, especially with $17 coins and the volume of BTC they move through, that's only 235 BTC, I'm sure they can handle that. 

Give it time. 

Are you.. looking to pre-order some Avalons ASAP?  (jokes)

Thread title = misleading!!!!
894  Economy / Goods / Re: Anyone sell bitcoin stickers/decals? on: January 22, 2013, 04:37:54 AM
Yes this is the material I use:

https://www.oracal.com/products/product.asp?seriesID=184&tabID=ts

It's pretty damn good, I can get the more expensive stuff but I don't see any necessity in it as the 651 is fantastic.

& yeah with vinyl we can do any color, any size, any design, it just takes some manipulation to do something custom but if it's supplied in .AI or .EPS format, you could do the design work and I could prepare it and send it out.  

I am also working with another signmaking company to outsource so I can supply printed vinyl graphics so stuff like this or this would be possible, I would be paying out to make them so the profit margin is less but the actual work would be done by someone else so that eliminates the entire painstaking task of preparing the graphics, so I'd just be marking it up a bit and sending it off.  I want a VersaCAMM so bad but I don't have $15-20k in my back pocket to buy one Smiley

Giftsforcoins it's funny you have the same machine as me, it's fun to deal with, eh?
895  Economy / Goods / Re: Anyone sell bitcoin stickers/decals? on: January 21, 2013, 11:13:34 PM
I sell custom graphics as well:

http://www.bitcointrading.com/forum/items-for-sale-(will-ship)/custom-vinyl-decals-stickers/

http://imgur.com/a/5YqyU

If you have any requests of any color, quantity, or style, just PM me here and I'll get you the best prices.  

Oh and if you see impossibledecals.com in a lot of stickers thats because I was working with someone and I borrowed my machine to him so he could cut our customers' decals instead of having to come over, and he ended up cutting like hundreds of decals out of my material and selling them under the table, like immediately after we started the website so I didn't want to work with him anymore so I shut down the domain and a squatter has it now.  But I still make and sell them but I just don't have a webstore set up.
896  Bitcoin / Development & Technical Discussion / Re: v0.1 on: January 21, 2013, 07:57:02 AM
I have a copy up, too!  This is epic!  When I started looking for the antique versions, I was not expecting to actually find them!

Thank you Hal!!!

Thank you mrb and deepceleron as well!

http://www.bitcointrading.com/forum/bitcoin-clients/original-bitcoin-source-code-archives/
897  Economy / Service Discussion / Re: Blockchain.info site switched to Spanish last night! Anyone else have this prob? on: January 21, 2013, 07:21:04 AM
One time I googled an address and a blockchain.info link came up, I clicked it, but apparently the link was directly to a random non-english language.  Then everytime I went to blockchain.info it was in that language.  Once changing the flag in the upper-right back to the american flag, it went back to english.  They need to put a Canadian flag in the list and append ", eh?" to everything methinks.
898  Bitcoin / Hardware / Re: [Announcement] Avalon ASIC Ships on: January 20, 2013, 08:13:33 PM
I wonder how much testing has gone into this.  Surely quite a bit.  But wouldn't it be a great upset if Avalon was first to ship and all of the units failed after a week or two?  
899  Economy / Auctions / Re: 1 physical bitcoin cheque on: January 20, 2013, 07:16:37 PM
I bid 0.10 BTC!!!!! Smiley
900  Bitcoin / Hardware / Re: [Announcement] Avalon ASIC Ships on: January 20, 2013, 05:48:05 PM
PIX!!

[13:22:55] <markedathome> now we need tracking number to jgarzik so that we can see a countdown to delivery, then a countdown to unboxing vid, countdown to powerup and mining vid, then countdown to teardown and post of BOM

That would be epic.

I'll be happy to print this out and eat it if I'm wrong.

I'd actually like to see that too.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 [45] 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 ... 138 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!